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

IMbnConnectionProfile