IMbnConnectionProfile::GetProfileXmlData method (mbnapi.h)
Important
Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.
Gets the XML data of the current profile.
Syntax
HRESULT GetProfileXmlData(
[out, retval] BSTR *profileData
);
Parameters
[out, retval] profileData
A pointer to a string containing the profile in XML format. If the method returns S_OK, the calling application must free the allocated memory by calling SysFreeString.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The data provided by this method complies with the Mobile Broadband Profile Schema Reference. The data will not contain the password used in the profile.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mbnapi.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for