// devpropdef.h
struct DEVPROPKEY {
DEVPROPGUID fmtid;
DEVPROPID pid;
};
View the official Windows hardware development documentationNo description available.
In Windows Vista and later versions of Windows, the DEVPROPKEY structure represents a device property key for a device property in the unified device property model.
fmtid A DEVPROPGUID-typed value that specifies a property category.
The DEVPROPGUID data type is defined as:
typedef GUID DEVPROPGUID, *PDEVPROPGUID;
pid A DEVPROPID-typed value that uniquely identifies the property within the property category. For internal system reasons, a property identifier must be greater than or equal to two.
The DEVPROPID data type is defined as:
typedef ULONG DEVPROPID, *PDEVPROPID;
The DEVPROPKEY structure is part of the unified device property model.
The basic set of system-supplied device property keys are defined in Devpkey.h.
The DEFINE_DEVPROPKEY macro creates an instance of a DEVPROPKEY structure that represents a device property key.
| Header | Devpropdef.h (include Devpropdef.h) |