RnaSessStart

DWORD APIENTRY RnaSessStart(HANDLE hConn, LPSESS_CONFIGURATION_INFO lpSCI)
 

is called by RNA to start an asynchronous session configuration. When the session configuration is complete, the SMM must call the RnaSessComplete function to notify RNA of the result of the configuration.

hConn
A handle to the RNA connection for the SMM to start the session configuration.
lpSCI
An address to a SESS_CONFIGURATION_INFO structure containing the parameters for the session configuration. On entry, the first DWORD of this structure is filled by RNA with the size of the SESS_CONFIGURATION_INFO structure.

The function should create another thread to continue the session configuration asynchronously. All other services including RnaSessComplete (see the Session Manager API) will be called from the SMM in the context of the SMM-owned thread. When the configuration is complete successfully, the SMM is responsible for terminating this thread.