EN
本內容沒有您的語言版本,但有英文版本。

IPropertySystem::EnumeratePropertyDescriptions method

Gets an instance of the subsystem object that implements IPropertyDescriptionList, to obtain either the entire or a partial list of property descriptions in the system.

Syntax


HRESULT EnumeratePropertyDescriptions(
  [in]   PROPDESC_ENUMFILTER filterOn,
  [in]   REFIID riid,
  [out]  void **ppv
);

Parameters

filterOn [in]

Type: PROPDESC_ENUMFILTER

The list to return. See PROPDESC_ENUMFILTER. Valid values for this method are 0 through 4.

riid [in]

Type: REFIID

A reference to the desired IID.

ppv [out]

Type: void**

The address of an IPropertyDescriptionList interface pointer.

Return value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

Indicates interface is obtained.

E_INVALIDARG

Indicates ppv is NULL.

 

Remarks

This method is not implemented where BUILDING_DOWNLEVEL_LIB is defined.

It is recommended that you use the IID_PPV_ARGS macro, defined in objbase.h, to package the riid and ppv parameters. This macro provides the correct IID based on the interface pointed to by the value in ppv, eliminating the possibility of a coding error.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Propsys.h

IDL

Propsys.idl

DLL

Propsys.dll (version 5.0 or later)

See also

IPropertySystem

 

 

社群新增項目

新增
顯示:
© 2014 Microsoft