Microsoft DirectX 8.1 (C++)

IMetaProperties::Add

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

The Add method adds a new MetaProperty object to the collection.

Syntax

HRESULT Add(
  IMetaProperty*  pprop
);

Parameters

pprop

[in]  Specifies the IMetaProperty interface of the MetaProperty object to be added to 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 pprop is NULL.
E_POINTER Data cannot be read from or written to a supplied address.

See Also