Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXNetworkAdapter::SetContext

The SetContext method sets the context information.

HRESULT SetContext(
  unsigned int uiContextSlot,
  IUnknown* punkContext
);

Parameters

uiContextSlot
[in] Unsigned integer value that specifies the registration handle, created by the IFWXNetConfigDetector::Register method. When you register a new network configuration detection (NCD) client, the first notification it receives is fwx_ncd_Startup, which provides the uiContextSlot parameter.
punkContext
[in] Pointer to the context information.

Return Values

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

Requirements

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

See Also

IFWXNetworkAdapter