Using the API you can post data into the driver as though it was originating from a physical device.
A number of API's exist to post data into the driver, as described in detail in the Data Injection document along with code examples.