IWMDMDevice::GetVersion method (mswmdm.h)

The GetVersion method retrieves the manufacturer-defined version number of the device.

Syntax

HRESULT GetVersion(
  [out] DWORD *pdwVersion
);

Parameters

[out] pdwVersion

Pointer to a DWORD specifying the version number.

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

The format of the version number is determined by the manufacturer.

Requirements

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

See also

IWMDMDevice Interface