EapHostPeerConfigBlob2Xml (Compact 2013)
3/26/2014
Converts the configuration BLOB to XML.
The configuration BLOB is returned when the supplicant called one of the following methods.
- EapHostPeerConfigXml2Blob
- EapHostPeerInvokeConfigUI
- EapHostPeerGetResult - through the EapHostPeerMethodResult structure
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
Not used. Set to 0.
- eapMethodType
Refers to an EAP_METHOD_TYPE structure that is referred to in the XML document.
- dwSizeOfConfigIn
The size, in bytes, of the configuration BLOB.
- pConfigIn
A pointer to a buffer that contains the configuration BLOB to convert. The buffer is of size dwSizeOfConfigIn.
- 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 element.
- ppEapError
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 exhausting the error data, this memory must be freed by calling EapHostPeerFreeErrorMemory.
See Also
Reference
EAPHost Supplicant Configuration Functions
EapHostPeerConfigXml2Blob
EapHostPeerInvokeConfigUI
EapHostPeerGetResult