swdevice.h header

This header is used by Software Device API. For more information, see:

Functions

Title Description
SwDeviceClose Closes the software device handle. When the handle is closed, PnP will initiate the process of removing the 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

Title Description
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.