Microsoft Internet Security and Acceleration Server 2000

IFWXOverlapped::SetNotificationInterface Method

Sets the callback for the completion of the overlapped I/O.

HRESULT SetNotificationInterface(
  IFWXExternalIOCompletion *piExternalIOCompletion,
  UserContextType UserData
);

Parameters

piExternalIOCompletion
[in] Pointer to an IFWXExternalIOCompletion interface that is notified when the overlapped I/O is completed.
UserData
[in] An opaque value to pass to the IFWXExternalIOCompletion::CompleteAsyncIO notification method. This parameter provides a context to the notification.

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.