| Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_ItemsWithMetaPropertyCond method retrieves a collection of Channel objects that meet the specified condition.
Syntax
HRESULT get_ItemsWithMetaPropertyCond(
IMetaPropertyCondition* pcond,
IChannels** ppchannels
);
Parameters
pcond
Pointer to the IMetaPropertyCondition interface of a MetaPropertyCondition object. This object specifies the condition governing the selection of channels to be retrieved.
ppchannels
[out] Address of a variable to receive the IChannels 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. |