pOEMCalcFSPages
This function is called in the OAL by the kernel to recalculate how much memory should be allocated to the object store.
DWORD (*pOEMCalcFSPages)(
DWORD dwMemPages,
DWORD dwDefaultFSPages
);
Parameters
- dwMemPages
[in] The number of pages of memory reported to the kernel. - dwDefaultFSPages
[in] The current default size, in pages, reserved for the object store based on FSRAMPRECENT.
Return Values
Number of pages that should be assigned to the object store.
Remarks
The return value is the number of pages that should be assigned to the object store. The size of memory reserved for the object store cannot be more then MAX_FILESYSTEM_HEAP_SIZE. If the size of reserved memory exceeds MAX_FILESYSTEM_HEAP_SIZE, only MAX_FILESYSTEM_HEAP_SIZE will be reserved.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Not applicable.
Link Library: Nk.lib.
See Also
FSRAMPERCENT | Memory Initialization
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.