EapHostPeerConfigBlob2Xml function (eaphostpeerconfigapis.h)

Converts the configuration BLOB to XML.

The configuration BLOB is returned when the supplicant called one of the following methods.

Syntax

DWORD EapHostPeerConfigBlob2Xml(
  [in]  DWORD            dwFlags,
  [in]  EAP_METHOD_TYPE  eapMethodType,
  [in]  DWORD            dwSizeOfConfigIn,
  [in]  BYTE             *pConfigIn,
  [out] IXMLDOMDocument2 **ppConfigDoc,
  [out] EAP_ERROR        **ppEapError
);

Parameters

[in] dwFlags

Not used. Set to 0.

[in] eapMethodType

Refers to an EAP_METHOD_TYPE structure that is referred to in the XML document.

[in] dwSizeOfConfigIn

The size, in bytes, of the configuration BLOB.

[in] pConfigIn

A pointer to a buffer that contains the configuration BLOB to convert. The buffer is of size dwSizeOfConfigIn.

[out] ppConfigDoc

A pointer to a pointer to an XML document that contains the converted configuration. If the EAP method does not support the EapHostConfig Schema element.

[out] ppEapError

A pointer to a pointer to an EAP_ERROR structure that contains any errors raised by EAPHost during the execution of this function call. After consuming the error data, this memory must be freed by calling EapHostPeerFreeErrorMemory.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header eaphostpeerconfigapis.h
Library Eappcfg.lib
DLL Eappcfg.dll

See also

EAPHost Supplicant Configuration Functions

EapHostPeerConfigXml2Blob

EapHostPeerGetResult

EapHostPeerInvokeConfigUI