Desktop Functions:

   Smart Device Functions:

Show Recent Changes
Subscribe (RSS)
Misc. Pages
Helpful Tools
Suggested Reading
Website TODO List
Download Visual Studio Add-In

FbwfCacheThresholdNotification (fbwflib)
Signals an event when the available write cache falls below a specified size.

C# Signature:

[DllImport("fbwflib.dll", SetLastError=true)]
[return: MarshalAs(UnmanagedType.U4)]
static extern uint FbwfCacheThresholdNotification(
     UInt32 threshold,
     SafeHandle handle

VB Signature:

Declare Function FbwfCacheThresholdNotification Lib "fbwflib.dll" (TODO) As TODO

User-Defined Types:


Alternative Managed API:

Do you know one? Please contribute it!


Code is tested on Windows Embedded Standard 7 32bit.

Tips & Tricks:

The API defines an Void-Pointer as a parameter. The pointer must point to a function with 4 parameters itself. The parameters are the same as a WaitHandle with its initial state set to false. So you can use the SafeHandle of the ResetEvent class.

For more infos visit

Sample Code:

_manualResetEvent = new ManualResetEvent(false);
NativeMethods.FbwfCacheThresholdNotification((uint)100, _manualResetEvent.SafeWaitHandle);


Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

Access directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version