Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


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

Terms of Use
Privacy Policy
FbwfCacheThresholdNotification (fbwflib)
 
.
Summary
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:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

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 http://www.codeproject.com/Questions/1074408/How-to-use-the-fbwf-function-FbwfCacheThresholdNot

Sample Code:

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

Documentation

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 PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions