共用方式為


FbwfCacheThresholdNotification

Allows applications to be signaled when the remaining cache memory falls below a specified size.

  ULONG FbwfCacheThresholdNotification(
   ULONG 
  threshold
  ,
   HANDLE 
  event

  );

Parameters

  • threshold
    [in] Remaining cache size in megabytes below which the event will be signaled.
  • event
    [in] The event handle that will be signaled when the available cache space drops below the specified threshold.

Return Values

This function may return the following:

Return value Description
NO_ERROR The operation completed successfully.
ERROR_INVALID_FUNCTION If the filter is disabled for the current session.
ERROR_INVALID_HANDLE If event is not a valid handle.
ERROR_INVALID_PARAMETER If threshold is zero or larger than the current cache threshold.

Remarks

This function is called by the application for the current session.

Requirements

OS Versions: Windows XP Embedded.
Header: fbwfapi.h.
Link Library: fbwflib.lib.

See Also

FBWF API | FbwfEnableFilter | FbwfSetCacheThreshold

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.