DEV_OBJECT structure (devquerydef.h)

Contains information that represents a device object.

Syntax

typedef struct _DEV_OBJECT {
  DEV_OBJECT_TYPE   ObjectType;
  PCWSTR            pszObjectId;
  ULONG             cPropertyCount;
  const DEVPROPERTY *pProperties;
} DEV_OBJECT, *PDEV_OBJECT;

Members

ObjectType

A value from the DEV_OBJECT_TYPE enumeration that specifies the type of this device object.

pszObjectId

The string that is the unique identifier for this particular object among objects of the same type.

cPropertyCount

The count of DEVPROPERTY structures pointed to by pProperties.

pProperties

A pointer to an array of 0 or more DEVPROPERTY structures.

Requirements

Requirement Value
Header devquerydef.h