Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1 KiB

  1. #ifndef MUI_H
  2. #define MUI_H
  3. #ifdef __cplusplus
  4. extern "C"
  5. {
  6. #endif
  7. void MuiLoadResource(HINSTANCE hinstOrg, LPTSTR pszLocResDll);
  8. void MuiLoadResourceW(HINSTANCE hinstOrg, LPWSTR pszLocResDll);
  9. void MuiFreeResource(HINSTANCE hinstOrg);
  10. void MuiFlushDlls(HINSTANCE hinstOrg);
  11. void MuiClearResource();
  12. HINSTANCE MuiGetHinstance();
  13. HINSTANCE MuiLoadLibrary(LPCTSTR lpLibFileName, HMODULE hModule);
  14. int MuiLoadString(HINSTANCE hinst, UINT id, LPSTR sz, INT cchMax);
  15. int MuiLoadStringWrapW(HINSTANCE hinst, UINT id, LPWSTR sz, UINT cchMax);
  16. #ifdef LoadString
  17. #undef LoadString
  18. #undef LoadStringA
  19. #undef LoadStringW
  20. #endif
  21. #ifndef UNICODE
  22. #define LoadString MuiLoadString
  23. #else
  24. #define LoadString MuiLoadStringWrapW
  25. #endif
  26. #define LoadStringA MuiLoadString
  27. #define LoadStringW MuiLoadStringWrapW
  28. #define LoadStringWrapW MuiLoadStringWrapW
  29. INT_PTR MuiDialogBoxParam(
  30. HINSTANCE hInstance,
  31. LPCTSTR lpTemplateName,
  32. HWND hwndParent,
  33. DLGPROC lpDialogFunc,
  34. LPARAM dwInitParam);
  35. LANGID GetPlatformResourceLangID(void);
  36. DWORD GetUIACP();
  37. #ifdef __cplusplus
  38. };
  39. #endif // __cplusplus
  40. #endif // MUI_H