$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
Just a quick note: if you want to determine the page size of the OS (Windows) you can use the GetSystemInfo function.
Example:
1 2 3 4 5 6 | var SystemInfo: SYSTEM_INFO; PageSize: DWORD; begin GetSystemInfo(SystemInfo); PageSize := SystemInfo.dwPageSize; |
Note that MSDN recommends to use the GetNativeSystemInfo function when running in a 32 bit app on an x64 OS (and you can use the IsWow64Process function to determine that).
One example where you need to know the PageSize is when you want to create a Paging File using the NtCreatePagingFile function because this function requires that the MinimumSize and MaximumSize parameters are a multiple of the PageSize.
Some interesting links on the subject:
Leave a reply