The HrGWWaitForStop function waits for the gateway to stop.
Header file: | GWMAIN.H |
Library: | GWMAIN.LIB |
HRESULT HrGWWaitForStop(
VOID
);
None.
See Return Values.
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.