Microsoft DirectX 8.1 (C++)

IMetaProperties::get_Count

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

The get_Count method retrieves the number of MetaProperty objects in the collection.

Syntax

HRESULT get_Count(
  long*  pVal
);

Parameters

pVal

[out]  Address of a variable to receive the number of MetaProperty objects in the 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_FAIL Unable to locate the collection of MetaProperty objects.
E_POINTER Data cannot be read from or written to a supplied address.

See Also