EapPeerConfigBlob2Xml function (eapmethodpeerapis.h)

Converts the configuration BLOB to XML. The configuration BLOB is returned in the ppConnectionDataOut parameter of the EapPeerInvokeConfigUI function.

Syntax

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

Parameters

[in] dwFlags

Not used. Set to 0.

[in] eapMethodType

An EAP_METHOD_TYPE structure that contains vendor and author information about the EAP method used for authenticating the connection.

[in] pConfigIn

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

[in] dwSizeOfConfigIn

The size, in bytes, of the configuration BLOB.

[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 configuration element.

[out] ppEapError

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

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 eapmethodpeerapis.h

See also

EAPHost Peer Method Configuration Functions