IPropertyDescription::GetPropertyKey method (propsys.h)
Gets a structure that acts as a property's unique identifier.
Syntax
HRESULT GetPropertyKey(
[out] PROPERTYKEY *pkey
);
Parameters
[out] pkey
Type: PROPERTYKEY*
When this method returns, contains a pointer to a PROPERTYKEY structure.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The information retrieved by this method comes from the propertyDescription element in the property's .propdesc file.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | propsys.h |