共用方式為


IWMProfileManager2 interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMProfileManager2 interface adds methods to specify and retrieve the version number of the system profiles enumerated by the profile manager. Most applications should set the value to the latest version unless they need to be backward-compatible with another application that was written using an earlier version of this SDK.

Inheritance

The IWMProfileManager2 interface inherits from IWMProfileManager. IWMProfileManager2 also has these types of members:

Methods

The IWMProfileManager2 interface has these methods.

 
IWMProfileManager2::GetSystemProfileVersion

The GetSystemProfileVersion method retrieves the version number of the system profiles that the profile manager enumerates.
IWMProfileManager2::SetSystemProfileVersion

The SetSystemProfileVersion method specifies the version number of the system profiles that the profile manager enumerates.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMProfileManager Interface

Interfaces

Profile Manager Object

Working with Profiles