IFWXOverlapped::SetNotificationInterface method

Applies to: desktop apps only

The SetNotificationInterface method sets the callback for the completion of the overlapped I/O.

Syntax

HRESULT SetNotificationInterface(
  [in]  IFWXExternalIOCompletion *piExternalIOCompletion,
  [in]  UserContextType UserData
);

Parameters

Return value

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 completion notifications from distinct network socket objects and differentiate between them by using different values for UserData.

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

IFWXOverlapped

 

 

Build date: 7/12/2010