Merge pull request #76 from shuffle2/fix-GetLogicalProcessorInformation

Fix spelling of GetLogicalProcessorInformation in GetProcAddress call
This commit is contained in:
Ben Vanik 2014-03-28 21:59:36 -07:00
commit 482ffb053a
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ int xe_pal_get_system_info(xe_system_info* out_info) {
kernel32 = GetModuleHandle(TEXT("kernel32")); kernel32 = GetModuleHandle(TEXT("kernel32"));
XEEXPECTNOTNULL(kernel32); XEEXPECTNOTNULL(kernel32);
glpi = (LPFN_GLPI)GetProcAddress(kernel32, "GetLogicalProcessorInfomration"); glpi = (LPFN_GLPI)GetProcAddress(kernel32, "GetLogicalProcessorInformation");
XEEXPECTNOTNULL(glpi); XEEXPECTNOTNULL(glpi);
// Call GLPI once to get the buffer size, allocate it, then call again. // Call GLPI once to get the buffer size, allocate it, then call again.