swdevice.h header
This header is used by Software Device API. For more information, see:
swdevice.h contains the following programming interfaces:
Functions
SwDeviceClose Closes the software device handle. When the handle is closed, if the lifetime of the SwDevice is SWDeviceLifetimeHandle, PnP will initiate the process of "unplugging" the device. The device will no longer be reported as a child of its parent device. |
SwDeviceCreate Initiates the enumeration of a software device. |
SwDeviceGetLifetime Gets the lifetime of a software device. |
SwDeviceInterfacePropertySet Sets properties on a software device interface. |
SwDeviceInterfaceRegister Registers a device interface for a software device and optionally sets properties on that interface. |
SwDeviceInterfaceSetState Enables or disables a device interface for a software device. |
SwDevicePropertySet Sets properties on a software device. |
SwDeviceSetLifetime Manages the lifetime of a software device. |
SwMemFree Frees memory that other Software Device API functions allocated. |
Callback functions
SW_DEVICE_CREATE_CALLBACK Provides a device with backing in the registry and allows the caller to then make calls to Software Device API functions with the hSwDevice handle. |