EapPeerCredentialsXml2Blob (Compact 7)
3/12/2014
This function converts XML into the configuration BLOB.
Syntax
DWORD WINAPI EapPeerCredentialsXml2Blob(
__in DWORD dwFlags,
__in EAP_METHOD_TYPE eapMethodType,
__in IXMLDOMDocument2* pCredentialsDoc,
__in const BYTE* pConfigIn,
__in DWORD dwSizeOfConfigIn,
__out BYTE** ppCredentialsOut,
__out DWORD* pdwSizeofCredentialsOut,
__out EAP_ERROR** ppEapError
);
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.
- pCredentialsDoc
A pointer to an XML node that contains credentials, which are either user or computer credentials depending on the configuration passed in.
- pConfigIn
A pointer to a byte buffer that contains a configuration BLOB for which the credentials are configured. The buffer is of size dwSizeofConfigIn.
- dwSizeOfConfigIn
The size, in bytes, of the buffer pointed to by pConfigIn.
- ppCredentialsOut
A pointer to the byte buffer that receives the credentials BLOB buffer generated by the input XML. The buffer can is of size pdwSizeofCredentialsOut. After exhausting the data, this memory must be freed by calling EapHostPeerFreeMemory.
- pdwSizeofCredentialsOut
The size, in bytes, of the buffer pointed to by ppCredentialsOut.
- ppEapError
A pointer to the address of 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 EapHostPeerFreeEapError.