Retrieves the state of the pre-allocation flag for both the current and next sessions.
ULONG FbwfIsCachePreAllocationEnabled( PULONG currentSession, PULONG nextSession );
Parameters
- currentSession
 [out] Boolean value, true if the pre-allocation is enabled for the current session.
- nextSession
 [out] Boolean value, true if pre-allocation will be enabled for the next session.
Return Values
This function may return the following:
| Return value | Description | 
|---|---|
| NO_ERROR | The operation completed successfully. | 
| ERROR_INVALID_PARMETER | If the currentSession or nextSession parameter is NULL. | 
Requirements
OS Versions: Windows XP Embedded.
Header: fbwfapi.h.
Link Library: fbwflib.lib.
See Also
FBWF API | FbwfEnableCachePreAllocation | FbwfDisableCachePreAllocation
Last updated on Wednesday, October 18, 2006
© 2006 Microsoft Corporation. All rights reserved.