Previous | Next |
The GetVersion method retrieves the version number of the media device.
Syntax
HRESULT GetVersion(
DWORD* pdwVersion
);
Parameters
pdwVersion
[out] Pointer to a double word containing the version number.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Description |
E_INVALIDARG | The pdwVersion parameter is an invalid or NULL pointer. |
WMDM_E_NOTSUPPORTED | The device does not support version numbers. |
E_FAIL | An unspecified error occurred. |
See Also
Previous | Next |