IPropertyUI::GetDefaultWidth method (shobjidl_core.h)

Developers should use IPropertyDescription instead. Gets the width of the property description.

Syntax

HRESULT GetDefaultWidth(
  REFFMTID fmtid,
  PROPID   pid,
  ULONG    *pcxChars
);

Parameters

fmtid

Type: REFFMTID

The FMTID of the property.

pid

Type: PROPID

The PROPID of the property.

pcxChars

Type: ULONG*

The width of the property description.

Return value

Type: HRESULT

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

Requirements

   
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