Saves a profile to a string buffer, in the form of an XML-formatted string.
#include "ltmm.h"
Language | Syntax |
---|---|
C | HRESULT IltmmWMProfileManager_SaveProfile(pProfMan, Profile, pVal) |
C++ | HRESULT SaveProfile(Profile, pVal) |
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.
Value | Meaning |
---|---|
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. |
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.
Win32, x64.
Language | Example |
---|---|
C | IltmmWMProfileManager::SaveProfile |
C++ | IltmmWMProfileManager::SaveProfile |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document