Compartilhar via


EapPeerConfigXml2Blob (Compact 2013)

3/26/2014

This function converts XML into the configuration BLOB.

Syntax

DWORD WINAPI EapPeerConfigXml2Blob(
  __in   DWORD dwFlags,
  __in   EAP_METHOD_TYPE eapMethodType,
  __in   IXMLDOMDocument2* pConfigDoc,
  __out  BYTE** ppConfigOut,
  __out  DWORD* pdwSizeOfConfigOut,
  __out  EAP_ERROR** ppEapError
);

Parameters

  • dwFlags
    A combination of EAP Method Flags that describe the EAP authentication session behavior. May be 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.
  • pConfigDoc
    Sends a pointer to the XML configuration to be converted.
  • ppConfigOut
    A pointer to a pointer to a byte buffer that contains the configuration data converted from XML. The configuration data is created inside theeaphostconfig Schema element. The buffer is of size pdwSizeOfConfigOut. After consuming the data, this memory must be freed by calling EapHostPeerFreeMemory.
  • pdwSizeOfConfigOut
    A pointer to the size, in bytes, of the configuration BLOB in ppConfigBlob.
  • ppEapError
    A pointer to the address of an EAP_ERROR structure that contains any errors raised during the execution of this function call. After consuming the error data, this memory must be freed by calling EapHostPeerFreeEapError.

See Also

Reference

EAPHost Peer Method Configuration Functions