Microsoft DirectX 9.0 |
The GetDefaultValue method retrieves the default value for a parameter, if one exists.
Syntax
HRESULT GetDefaultValue(
const GUID* Api,
VARIANT* Value
);
Parameters
Api
[in] Pointer to a GUID that specifies the parameter.
Value
[out] Pointer to a VARIANT type that receives the default value.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Remarks
If there is no default value for the parameter, the method fails.
See Also