The GetContext method retrieves the context information for the network element.
HRESULT GetContext( [in] unsigned int uiContextSlot, [in] IUnknown** ppunkContext );
Unsigned integer value that specifies the registration handle created by the IFWXNetConfigDetector::Register method. When you register a new network configuration detection client, the first notification that it receives is of the fwx_ncd_Startup type, and the Parameters member of the FwxNcdEvent structure provided with this notification contains the value for this parameter.
Address of a pointer to IUnknown that on return points to the context information object.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
The context information object must implement the IUnknown interface.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.