dxdiagn.dllGetProp
Microsoft DirectX 9.0 SDK Update (October 2004)

IDxDiagContainer::GetProp Method


Retrieves an instance of the specified property.

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 one of the error codes for VariantCopy or the following value:

E_INVALIDARGAn invalid argument was passed to the returning function.




© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.