Windows Dev Center

EapHostPeerConfigXml2Blob function

Converts XML into the configuration BLOB. When the supplicant starts authentication or calls EapHostPeerInvokeConfigUI, the supplicant calls EapHostPeerConfigXml2Blob to convert the XML configuration into a BLOB.

The XML data to be converted could originate from a EapHostPeerConfigBlob2Xml call, or the data could originate from a XML created by a system administrator or other XML author.

Syntax


DWORD WINAPI EapHostPeerConfigXml2Blob(
  _In_  DWORD           dwFlags,
  _In_  IXMLDOMNode     *pConfigDoc,
  _Out_ DWORD           *pdwSizeOfConfigOut,
  _Out_ BYTE            **ppConfigOut,
  _Out_ EAP_METHOD_TYPE *pEapMethodType,
  _Out_ EAP_ERROR       **ppEapError
);

Parameters

dwFlags [in]

Not used. Set to 0.

pConfigDoc [in]

Sends a pointer to the XML configuration to be converted.

pdwSizeOfConfigOut [out]

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

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 EapHostConfig Schema element. The buffer is of size pdwSizeOfConfigOut. After consuming the data, this memory must be freed by calling EapHostPeerFreeMemory.

pEapMethodType [out]

A pointer to an EAP_METHOD_TYPE structure referred to in the XML document.

ppEapError [out]

A pointer 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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Eaphostpeerconfigapis.h

Library

Eappcfg.lib

DLL

Eappcfg.dll

See also

EAPHost Supplicant Configuration Functions
EapHostPeerConfigXml2Blob
EapHostPeerInvokeConfigUI
EapHostPeerGetResult

 

 

Community Additions

ADD
Show:
© 2015 Microsoft