Windows Media Format SDK banner art
PreviousNext

IWMDMDevice::GetVersion

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

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.