?/TD>
Microsoft DirectX 9.0

IDxDiagContainer::GetProp Method


Retrieves an instance of the property specified.

Syntax

HRESULT GetProp(      

    LPCWSTR pwszPropName,     VARIANT *pvarProp );

Parameters

pwszPropName
[in] Specifies the NULL-terminated name of the property.
pvarProp
Receives an instance of the property specified in pwszPropName. Check the method's return value and call VariantClear only if the method succeeds.

Return Value

Returns S_OK if successful. Otherwise, returns the following value or one of the error codes for VariantCopy.

E_INVALIDARGAn invalid argument was passed to the returning function.




© 2002 Microsoft Corporation. All rights reserved.