XGMemoryLayout::EnsureMappingSize Method

Checks whether the layout has virtual address space remaining for a mapping of the given size in pages.

Syntax

public:
bool EnsureMappingSize(
         UINT32 PageCount
)  

Parameters

PageCount
Type: UINT32 

The number of pages to test for availability.

Return value

Type: bool 

Returns true if the layout has virtual address space remaining for a mapping of the given size in pages; otherwise; false.

Requirements

Header: Declared in xgmemory.h.

See also

XGMemoryLayout

XGMemoryLayout Members