WaitForChanges Method of the IFPCVendorParametersSet Interface

The WaitForChanges method registers to wait for an event indicating that the contents of the object have changed.

Syntax

HRESULT WaitForChanges(
  [in]  HANDLE_PTR hEvent
);

Parameters

hEvent

An event that will be signaled whenever the contents of the FPCVendorParametersSet object change.

Return Value

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

Remarks

This method allows application filters to handle dynamic configuration changes smoothly. Note that when you develop an application filter that uses the WaitForChanges method to handle dynamic changes, the FPCVendorParametersSet object should be preserved as long as is necessary to receive notifications. This can be done by making the FPCVendorParametersSet object a member of the filter (IFWXFilter) object.

This method can only be used in C and C++ programming languages. Also, it cannot be used with DCOM.

It is possible to use Visual Basic to get notification of storage changes in the FPCVendorParametersSet object without using the WaitForChanges method. For more information, see the Remarks section in the FPCVendorParametersSet topic.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCVendorParametersSet


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.