Windows Media Format SDK banner art
PreviousNext

IWMProfile::GetVersion

The GetVersion method retrieves the Windows Media Services version number of the profile.

Syntax

HRESULT GetVersion(
  WMT_VERSION*  pdwVersion
);

Parameters

  pdwVersion

[out]  Pointer to a double word containing one member of the WMT_VERSION enumeration type.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_INVALIDARG The pdwVersion parameter is NULL.

Remarks

The version number indicates which version of Windows Media Services will be compatible with Windows Media files generated by using this profile.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.