Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXFirewall2::PostTaskCompletion

The PostTaskCompletion method posts a one-time task into the completion port's queue. The one-time task is represented by the IFWXTaskCompletion interface.

HRESULT PostTaskCompletion(
  IFWXTaskCompletion* pIFWXTaskCompletion,
  UserContextType UserData
);

Parameters

pIFWXTaskCompletion
[in] Pointer to the IFWXTaskCompletion interface.
UserData
[in] The UserData parameter is used for differentiation between completion notifications.

Return Values

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

Remarks

The UserData parameter provides a context to the notification. You can use the same notification interface for a number of completion notifications and differentiate among them by using different values for the UserData parameter.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXFirewall2