Share via


EapPeerConfigBlob2Xml (Compact 7)

3/12/2014

This 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
    Not used. Set to 0.
  • eapMethodType
    An EAP_METHOD_TYPE structure that contains vendor and author information about the EAP method that is used for authenticating the connection.
  • pConfigIn
    A pointer to a buffer that contains the configuration BLOB to convert. The buffer is of size dwSizeOfConfigIn.
  • dwSizeOfConfigIn
    The size, in bytes, of the configuration BLOB.
  • ppConfigDoc
    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 configuration element.
  • pEapError
    A pointer to the address of an EAP_ERROR structure that contains any errors raised during the execution of this function call. After exhausting the error data, this memory must be freed by calling EapHostPeerFreeErrorMemory.

See Also

Reference

EAPHost Peer Method Configuration Functions