RnaComplete


DWORD APIENTRY RnaComplete(HANDLE hConn, LPCOMPLETE_INFO lpci, LPPROJECTION_INFO lppi, DWORD cEntries)

is called by SMM to notify RNA of the result of the session configuration. SMM calls this function to response to the RnaSessStart call from RNA.

hConn

A handle to the RNA connection for the session.

lpci

An address to a COMPLETE_INFO structure containing the information for the result of the session configuration. On entry, the dwSize field must be filled with the size of the structure.

lppi

An address to an array of PROJECTION_INFO structure containing the information of the projected network protocol.

cEntries

The number of the PROJECTION_INFO structures in the array.

ERROR_BUFFER_INVALID

The COMPLETE_INFO structure is invalid or missing.

ERROR_INVALID_HANDLE

The RNA connection handle is invalid.


If RNA sees an error code in dwResult other then SUCCESS, it will always call RnaSessStop to remove the SMM from the system.