DEVPROPKEY structure
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.
Syntax
struct DEVPROPKEY {
DEVPROPGUID fmtid;
DEVPROPID pid;
};
Members
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;
Remarks
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.
Requirements
Header |
Devpropdef.h (include Devpropdef.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for