EwfMgrRegisterLowSpaceNotification
This function registers for a low space notification when the available bytes in the overlay reach a specified threshold.
BOOL EwfMgrRegisterLowSpaceNotification( HANDLE hDevice, LONGLONGFreeBytesRemaining, LPOVERLAPPEDlpOverlapped);
Parameters
- hDevice
[in] Handle to the EWF overlay store volume. - FreeBytesRemaining
[in] Specifies the threshold of free bytes remaining before a notification is sent. - lpOverlapped
[in] Long pointer to an OVERLAPPED structure.
Return Values
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. Call GetLastError for extended error information.
Remarks
If lpOverlapped is NULL:
- EwfMgrRegisterLowSpaceNotification does not return until the notification is completed or until an error occurs.
- The fOpenForAsyncIO parameter was FALSE when EwfMgrOpenOverlayStore was called.
If lpOverlapped is non-NULL, fOpenForAsyncIO was TRUE when EwfMgrOpenOverlayStore was called.
This function is only supported on disk overlays.
The overlay store volume must remain open while this notification is outstanding. The notification is canceled automatically if the overlay store volume handle is closed.
Requirements
OS Versions: Windows XP Embedded.
Header: Ewfapi.h.
Link Library: Ewfapi.dll, Ewfapi.lib.
Code Example
The following routine(s), which are included in the EWF API Code Sample (Sample.cpp), demonstrate how to use this function:
See Also
EWF API Functions | EWF API Code Sample
Last updated on Wednesday, October 18, 2006
© 2006 Microsoft Corporation. All rights reserved.