?/TD> |
Microsoft DirectX 9.0 |
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_INVALIDARG An invalid argument was passed to the returning function.