IWMProfile2 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 IWMProfile2 interface exposes the globally unique identifier for a system profile. System profiles have associated identifiers, but custom profiles do not.

As with IWMProfile, IWMProfile2 is included in profile objects as well as in reader and synchronous reader objects. To obtain a pointer to an IWMProfile2 interface, call the QueryInterface method of any interface in one of these objects. For more information, see IWMProfile Interface.

Inheritance

The IWMProfile2 interface inherits from IWMProfile. IWMProfile2 also has these types of members:

Methods

The IWMProfile2 interface has these methods.

 
IWMProfile2::GetProfileID

The GetProfileID method retrieves the globally unique identifier of a system profile.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMProfile Interface

IWMProfileManager Interface

Interfaces

Profile Manager Object

Working with Profiles