IltmmWMProfileManager::LoadSystemProfile

#include "ltmm.h"

C Syntax

HRESULT IltmmWMProfileManager_LoadSystemProfile(pProfMan, ProfileIndex, pVal)

C++ Syntax

HRESULT LoadSystemProfile(ProfileIndex, pVal)

 

IltmmWMProfileManager *pProfMan;

/* pointer to an interface */

long ProfileIndex;

/* index */

IltmmWMProfile **pVal;

/* pointer to a pointer */

Loads the system profile at the specified index.

Parameter

Description

pProfMan

Pointer to an IltmmWMProfileManager interface.

ProfileIndex

Index of the profile to load.

pVal

Pointer to a variable to be updated with a pointer to an IltmmWMProfile interface. This interface references the loaded profile.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

If IltmmWMProfileManager::LoadSystemProfile succeeds, the caller must free the retrieved interface by calling its Release method.

For more information, refer to the Microsoft documentation for IWMProfileManager::LoadSystemProfile .

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmWMProfileManager::CreateEmptyProfile, IltmmWMProfileManager::get_SystemProfileCount, IltmmWMProfileManager::get_SystemProfileVersion, IltmmWMProfileManager::LoadProfileByData, IltmmWMProfileManager::LoadProfileByID, IltmmWMProfileManager::put_SystemProfileVersion, IltmmWMProfileManager::SaveProfile

Topics:

Multimedia Function Group

 

Windows Media Support

Example

For a C example, refer to IltmmWMProfileManager::SaveProfile Example for C.

For a C++ example, refer to IltmmWMProfileManager::SaveProfile Example for C++.