IPropertyUI::GetFlags method (shobjidl_core.h)

Developers should use IPropertyDescription instead. Gets property feature flags for a specified property.

Syntax

HRESULT GetFlags(
  [in]  REFFMTID         fmtid,
  [in]  PROPID           pid,
  [out] PROPERTYUI_FLAGS *pflags
);

Parameters

[in] fmtid

Type: REFFMTID

The FMTID of the property.

[in] pid

Type: PROPID

The PROPID of the property.

[out] pflags

Type: PROPERTYUI_FLAGS*

The PROPERTYUI_FLAGS for the property.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h