EapPeerConfigXml2Blob function

Converts XML into the configuration BLOB.


DWORD WINAPI EapPeerConfigXml2Blob(
  _In_  DWORD            dwFlags,
  _In_  EAP_METHOD_TYPE  eapMethodType,
  _In_  IXMLDOMDocument2 *pConfigDoc,
  _Out_ BYTE             **ppConfigOut,
  _Out_ DWORD            *pdwSizeOfConfigOut,
  _Out_ EAP_ERROR        **ppEapError


dwFlags [in]

A combination of EAP flags that describe the EAP authentication session behavior. May be 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.

pConfigDoc [in]

Sends a pointer to the XML configuration to be converted.

ppConfigOut [out]

A pointer to a pointer to a byte buffer that contains the configuration data converted from XML. The configuration data is created inside the EapHostConfig Schema element. The buffer is of size pdwSizeOfConfigOut. After consuming the data, this memory must be freed by calling EapPeerFreeMemory.

pdwSizeOfConfigOut [out]

A pointer to the size, in bytes, of the configuration BLOB in ppConfigBlob.

ppEapError [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.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]



See also

EAPHost Peer Method Configuration Functions