Windows Media Format SDK banner art
PreviousNext

IMDSPDevice::GetVersion

The GetVersion method retrieves the version number of the device.

Syntax

HRESULT GetVersion(
  DWORD*  pdwVersion
);

Parameters

  pdwVersion

[out]  Pointer to a double word to receive the version number of the device.

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 This device does not support version numbers.
E_FAIL An unspecified error occurred.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.