IMDSPDevice::GetVersion method (mswmdm.h)

The GetVersion method retrieves the version number of the device.

Syntax

HRESULT GetVersion(
  [out] DWORD *pdwVersion
);

Parameters

[out] pdwVersion

Pointer to a DWORD to receive the version number of the device.

Return value

The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes
For an extensive list of possible error codes, see Error Codes.

Remarks

This method is optional. For more information, see Mandatory and Optional Interfaces.

Requirements

Requirement Value
Target Platform Windows
Header mswmdm.h
Library Mssachlp.lib

See also

IMDSPDevice Interface