DWORD APIENTRY RnaStartCallback(HANDLE hConn, HANDLE hEvent)
is called by SMM to request RNA to start the callback process asynchronously. In the responder session, RNA terminates and re-establishes the physical connection. In the initiator session, RNA terminates the physical connection and waits for the RNA host to establish the connection.
hConn
A RNA connection handle.
hEvent
A handle to the event RNA signals when the callback succeeds.
ERROR_INVALID_HANDLE | The RNA connection handle is invalid. |
If the physical connection cannot be re-established, RNA will not signal the completion event to the SMM. Instead, it will terminate the session configuration by calling SMM's RnaSessStop.