IPropertyStoreCache::GetState method (propsys.h)

Gets the state of a specified property key.

Syntax

HRESULT GetState(
  [in]  REFPROPERTYKEY key,
  [out] PSC_STATE      *pstate
);

Parameters

[in] key

Type: REFPROPERTYKEY

A reference to a PROPERTYKEY structure.

[out] pstate

Type: PSC_STATE*

A pointer to a PSC_STATE enumeration value.

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]
Target Platform Windows
Header propsys.h