Previous | Next |
The GetRevision method retrieves the revision number of the media device manager. This is not the revision number of any media device supported by the media device manager.
Syntax
HRESULT GetRevision(
DWORD* pdwRevision
);
Parameters
pdwRevision
[out] Pointer to a double word containing the Windows Media Device Manager revision 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 pdwRevision parameter is an invalid or NULL pointer. |
E_FAIL | An unspecified error occurred. |
Remarks
The revision number is returned in hexadecimal format 0xMMLLmmll, where MMLL is the major revision number expressed in the high-order bytes of the return value, and mmll is the minor revision number expressed in the low-order bytes of the return value.
See Also
Previous | Next |