#include "ltmm.h"

C Syntax

HRESULT IltmmWMProfileManager_SaveProfile(pProfMan, Profile, pVal)

C++ Syntax

HRESULT SaveProfile(Profile, pVal)

IltmmWMProfileManager *pProfMan;

pointer to an interface

IltmmWMProfile *Profile;

pointer to an interface

BSTR *pVal;

pointer to a string

Saves a profile to a string buffer, in the form of an XML-formatted string.




Pointer to an IltmmWMProfileManager interface.


Pointer to an IltmmWMProfile interface that references the object containing the profile data to be saved.


Pointer to a string to be updated with the profile data in the form of an XML-formatted string.



The function was successful.

<> S_OK

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


The string obtained from this function should not be modified directly. To change the profile settings, load the saved profile using IltmmWMProfileManager::LoadProfileByData and change the settings using the (IltmmWMProfile interface). You can save the string in a file for later use. The file must have a "prx" extension.

Call SysFreeString to free the memory allocated for the string when it is no longer needed.

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

Required DLLs and Libraries


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


Win32, x64

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help