Microsoft DirectX 8.1 (C++)

IMetaProperties::get_ItemsWithMetaPropertyType

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_ItemsWithMetaPropertyType method retrieves a collection of MetaProperty objects that match a specified MetaPropertyType object.

Syntax

HRESULT get_ItemsWithMetaPropertyType(
  IMetaPropertyType*  ptype,
  IMetaProperties**  ppprops
);

Parameters

ptype

[in]  Specifies the IMetaPropertyType interface of a MetaPropertyType object.

ppprops

[out]  Address of a variable to receive a pointer to the IMetaProperties interface of the retrieved collection.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.
E_OUTOFMEMORY There is not sufficient memory to create the collection.
E_POINTER Data cannot be read from or written to a supplied address.

See Also