Applies to: desktop apps only
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.
Minimum supported client
Minimum supported server
|Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)|
|Forefront Threat Management Gateway (TMG) 2010|
Build date: 7/12/2010