IFWXFirewall2::UpdateServiceStatus method

Applies to: desktop apps only

The UpdateServiceStatus method updates the service status.

Syntax

HRESULT UpdateServiceStatus(
  [in]  DWORD dwWaitHint
);

Parameters

  • dwWaitHint [in]
    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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXFirewall2

 

 

Build date: 7/12/2010