Fix spelling of GetLogicalProcessorInformation in GetProcAddress call - spelling actually matters here.

This commit is contained in:
Shawn Hoffman 2014-03-28 21:48:12 -07:00
parent 9a2d99d652
commit 1e196df4b3
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.