UpdateServiceStatus Method of the IFWXFirewall2 Interface

The UpdateServiceStatus method updates the service status.

Syntax

HRESULT UpdateServiceStatus(
  [in]  DWORD dwWaitHint
);

Parameters

  • dwWaitHint
    The estimated time required, in milliseconds, for a pending stop operation.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

A filter can use this method to allow itself more time to shut down before the Service Control Manager kills a service.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXFirewall2

Send comments about this topic to Microsoft

Build date: 6/30/2010