19 load_windows_system_library(
const TCHAR *library_name)
23 n = GetSystemDirectory(path, MAX_PATH);
24 if (n == 0 || n + _tcslen(library_name) + 2 >= MAX_PATH)
26 _tcscat(path, TEXT(
"\\"));
27 _tcscat(path, library_name);
28 return LoadLibrary(path);