Microsoft DirectX 8.1 (C++)

IMetaPropertyCondition::get_And

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

The get_And method creates and retrieves a new MetaPropertyCondition object that performs an AND operation on the test results of two other MetaPropertyCondition objects.

Syntax

HRESULT get_And(
  IMetaPropertyCondition*  pcond2,
  IMetaPropertyCondition**  pppropcond
);

Parameters

pcond2

[in]  Specifies the IMetaPropertyCondition interface of a MetaPropertyCondition object that represents the right half of the AND expression. The this object represents the left half.

pppropcond

[out]  Address of a variable to receive the IMetaPropertyCondition interface of a new MetaPropertyCondition object.

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 object.
E_POINTER Data cannot be read from or written to a supplied address.

See Also