EapHostPeerConfigXml2Blob (Compact 7)
3/12/2014
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
Not used. Set to 0.
- pConfigDoc
Sends a pointer to the XML configuration to be converted.
- pdwSizeOfConfigOut
A pointer to the size, in bytes, of the configuration BLOB.
- ppConfigOut
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 exhausting the data, this memory must be freed by calling EapHostPeerFreeMemory.
- pEapMethodType
A pointer to an EAP_METHOD_TYPE structure referred to in the XML document.
- ppEapError
A pointer 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