The HrGWLogon function logs the user on the gateway.
HRESULT HrGWLogon( VOID );
None.
See Return Values.
HrGWLogoff, GWMain