EapPeerConfigBlob2Xml function

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

Syntax


DWORD WINAPI EapPeerConfigBlob2Xml(
  _In_        DWORD            dwFlags,
  _In_        EAP_METHOD_TYPE  eapMethodType,
  _In_  const BYTE             *pConfigIn,
  _In_        DWORD            dwSizeOfConfigIn,
  _Out_       IXMLDOMDocument2 **ppConfigDoc,
  _Out_       EAP_ERROR        **pEapError
);

Parameters

dwFlags [in]

Not used. Set to 0.

eapMethodType [in]

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

pConfigIn [in]

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

dwSizeOfConfigIn [in]

The size, in bytes, of the configuration BLOB.

ppConfigDoc [out]

A pointer to a pointer to an XML document that contains the converted configuration. If the EAP method does not support the EapPeerConfigBlob2Xml function, the XML document will contain the ConfigBlob node with the BLOB in string form. The EAP method should create configuration inside the EapHostConfig Schema configuration element.

pEapError [out]

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Eapmethodpeerapis.h

See also

EAPHost Peer Method Configuration Functions

 

 

Community Additions

ADD
Show: