Device Manager Functions (Compact 2013)
3/26/2014
The following table shows the Device Manager functions.
Programming element |
Description |
---|---|
This function loads a device driver. For additional functionality, use the ActivateDeviceEx function. |
|
This function loads a driver and adds its registry values to the Active key in the registry. |
|
This function allows a driver to announce what interfaces it exposes. |
|
This function cancels an asynchronous I/O request. |
|
This function cancels an asynchronous I/O request. |
|
This function signals completion of asynchronous I/O and updates the final count of bytes that were completed by asynchronous I/O. |
|
This function is used by a device driver to change XXX_Read (Device Manager), XXX_Write (Device Manager), and XXX_IOControl (Device Manager) function calls into asynchronous I/O. |
|
This function unloads the driver for the specified device and deletes the active key of the device from the registry. |
|
This function sends an IOCTL directly to a specified device driver, causing the corresponding device to perform the specified operation. |
|
This function manually disables a device driver. |
|
This function exposes AdvertiseInterface to device drivers that link directly with the Device Manager. |
|
This function manually enables a device driver. |
|
This function enumerates the interfaces exposed by a driver. |
|
This function returns a list of the active device file names currently present in the file system. Calling RequestDeviceNotifications with DEVCLASS_STREAM_GUID supersedes this function. |
|
This function returns a list of the Plug and Play identifiers that are currently active in the system. Calling RequestDeviceNotifications with DEVCLASS_STREAM_GUID supersedes this function. |
|
This function searches for device information and fills in a DEVMGR_DEVICE_INFORMATION structure with this information. |
|
This function searches for devices using the handle returned from FindFirstDevice. |
|
This function obtains the current device driver status. |
|
This function retrieves device information using a handle returned from ActivateDeviceEx. |
|
This function retrieves device information using a handle returned from CreateFile. |
|
This function retrieves the results of an overlapped operation on the specified file, named pipe, or communications device. |
|
This function opens the device registry key specified by the ActiveKey parameter. The caller of OpenDeviceKey is responsible for closing the registry handle it returns. |
|
This function creates a valid set of numbers for use by drivers. |
|
This function allows privileged code to destroy resources created with ResourceCreateList. |
|
This function allows resource ranges to be programmatically designated as shareable. |
|
This function allows drivers to use operating system (OS) resources created by ResourceCreateList. |
|
This function allows drivers to use the resources made available by ResourceRelease. |
|
This function allows devices to request exclusive access to shareable resources. |
|
This function is used by an asynchronous device driver to update the status and progress on an asynchronous I/O request. |