RequestVRFCLogoff

This function removes the RFC connection from this application. Afterwards, no further RFCs to this connection can be attempted by this application.

This function replaces the RfcClose function in the RFC API.

If the connection handle is omitted, all RFC connections of this application are removed.

Function Prototype:

void RequestVRFCLogoff(HWND hWnd,
VRFCService_HANDLE hAppl,
VRFCLoginID hLID = VRFCLoginID_NULL);

Parameter Description

Type

Parameter Name

Description

HWND

hWnd

Handle to the parent window can be NULL

VRFCService_HANDLE

hAppl

Application identifier

VRFCLoginID

hLID

Connection identifier, like the RFC_HANDLE of the RFC API. If this parameter is omitted, all connections of the application are removed