typedef NTSYSAPI UINT_PTR (NTAPI *FP)(BOOL bUserProf, PLCID plcId); typedef DWORD ( NTAPI *NTSETDEFAULTLOCALE)( IN BOOLEAN UserProfile, IN LCID DefaultLocaleId ); NTSETDEFAULTLOCALE lpfnFuncSet = NULL; HINSTANCE hCoreDll = LoadLibrary(TEXT("ntdll.dll")); lpfnFuncSet = (NTSETDEFAULTLOCALE)GetProcAddress(hCoreDll, _T("NtSetDefaultLocale")); if (lpfnFuncSet) { dwTemp = lpfnFuncSet(FALSE, 0x419); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)