Platform SDK: Exchange Server

HrGWWaitForStop

The HrGWWaitForStop function waits for the gateway to stop.

Quick Info

Header file: GWMAIN.H
Library: GWMAIN.LIB

HRESULT HrGWWaitForStop(
  VOID  
);
 

Parameters

None.

Return Values

See Return Values.

Remarks

Use the HrGWWaitForStop function to begin shutting down a gateway. If this function completes successfully, you can then call the HrServiceConfirmStop function to ensure the gateway is no longer running as a service of Windows NT Server.

See Also

HrGWLogoff