Windows Dev Center

EapHostPeerConfigBlob2Xml function

Converts the configuration BLOB to XML.

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

Syntax


DWORD WINAPI EapHostPeerConfigBlob2Xml(
  _In_  DWORD            dwFlags,
  _In_  EAP_METHOD_TYPE  eapMethodType,
  _In_  DWORD            dwSizeOfConfigIn,
  _In_  BYTE             *pConfigIn,
  _Out_ IXMLDOMDocument2 **ppConfigDoc,
  _Out_ EAP_ERROR        **ppEapError
);

Parameters

dwFlags [in]

Not used. Set to 0.

eapMethodType [in]

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

dwSizeOfConfigIn [in]

The size, in bytes, of the configuration BLOB.

pConfigIn [in]

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

ppConfigDoc [out]

A pointer to a pointer to an XML document that contains the converted configuration. If the EAP method does not support the EapHostPeerConfigBlob2Xml 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 element.

ppEapError [out]

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.

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