IPropertyStoreCache::GetValueAndState method
Gets value and state data for a property key.
Syntax
HRESULT GetValueAndState(
[in] REFPROPERTYKEY key,
[out] PROPVARIANT *ppropvar,
[out] PSC_STATE *pstate
);
Parameters
- key [in]
-
Type: REFPROPERTYKEY
A reference to a PROPERTYKEY structure identifying the property.
- ppropvar [out]
-
Type: PROPVARIANT*
A pointer to a PROPVARIANT structure for the property data.
- pstate [out]
-
Type: PSC_STATE*
A pointer to a PSC_STATE enumeration value declaring the current state of the property.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: