The Register method registers an application filter to receive network configuration detection (NCD) events.
HRESULT Register( [in] IFWXNetConfigDetectionNotification* ipNcdNotification, [in] BOOL fIssueAllNotifications, [out] unsigned int* puiNcdRegistrationHandle );
Pointer to an IFWXNetConfigDetectionNotification interface, which the application filter must implement.
Boolean value that specifies whether the IFWXNetConfigDetector::Register method will return synchronously (after all notifications are issued) or asynchronously (before any notification is issued). When an application filter registers as an NCD client, as part of the registration process it will receive all the incremental notifications required to compose the current network configuration snapshot. This flag indicates whether the client receives all of these initial notifications synchronously (before its call to the IFWXNetConfigDetector::Register method returns) or asynchronously (after its call to the IFWXNetConfigDetector::Register method returns).
Unsigned integer value that specifies a registration handle created during the registration process.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
|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.