devquery.h header

This header is used by Device and Driver Installation Reference. For more information, see:

devquery.h contains the following programming interfaces:

Functions

 
DevCloseObjectQuery

Closes a device query handle.
DevCreateObjectQuery

Creates a device query to retrieve properties based on the specified query parameters.
DevCreateObjectQueryEx

Creates a device query to retrieve properties based on the specified query parameters and extended parameters.
DevCreateObjectQueryFromId

Creates a device query to retrieve properties based on the specified query parameters and object ID.
DevCreateObjectQueryFromIdEx

Creates a device query to retrieve properties based on the specified query parameters, extended parameters, and object ID.
DevCreateObjectQueryFromIds

Creates a device query to retrieve properties based on the specified query parameters and a list of object IDs.
DevCreateObjectQueryFromIdsEx

Creates a device query to retrieve properties based on the specified query parameters, extended parameters, and a list of object IDs.
DevFindProperty

Finds the DEVPROPERTY that corresponds to a particular property within an array of DEVPROPERTY structures.
DevFreeObjectProperties

Frees DEVPROPERTY structures allocated by calls to DevGetObjectProperties or DevGetObjectPropertiesEx.
DevFreeObjects

Frees DEV_OBJECT structures allocated by a call to DevGetObjects or DevGetObjectsEx.
DevGetObjectProperties

Synchronously retrieve a set of properties for a specified object.
DevGetObjectPropertiesEx

Synchronously retrieve a set of properties for a specified object optionally based on the specified extended parameters.
DevGetObjects

Synchronously retrieves a set of DEV_OBJECT structures based on the supplied requested properties and filter criteria.
DevGetObjectsEx

Synchronously retrieves a set of DEV_OBJECT structures based on the supplied requested properties, extended parameters, and filter criteria.

Callback functions

 
PDEV_QUERY_RESULT_CALLBACK

The function prototype required of callback functions that will receive DevQuery query results.