Device Manager Functions
Other versions of this page are also available for the following:
8/28/2008
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 unloads the driver for the specified device and deletes the active key of the device from the registry. |
|
This function deregisters a registered device. DeactivateDevice supersedes this function. |
|
This function sends an IOCTL directly to a specified device driver, causing the corresponding device to perform the specified operation. |
|
This function exposes AdvertiseInterface to device drivers that link directly with the Device Manager. |
|
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 enumerates the interfaces exposed by a driver. |
|
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 retrieves device information using a handle returned from ActivateDeviceEx. |
|
This function retrieves device information using a handle returned from CreateFile. |
|
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 registers a new device. ActivateDeviceEx supersedes this function. |
|
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. |