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.

34 lines
1.8 KiB

  1. #ifndef _LOCRESMAN_H_INCLUDED_
  2. #define _LOCRESMAN_H_INCLUDED_
  3. #include <windows.h>
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif // __cplusplus
  8. // ************************************************************
  9. HRESULT WINAPI HrLoadLocalizedLibrarySFU (const HINSTANCE hInstExe, const WCHAR *pwchDllName, HINSTANCE *phInstLocDll, WCHAR *pwchLoadedDllName);
  10. HRESULT WINAPI HrLoadLocalizedLibrarySFU_A(const HINSTANCE hInstExe, const char *pchDllName, HINSTANCE *phInstLocDll, char *pchLoadedDllName);
  11. int WINAPI LoadStringCodepage_A(HINSTANCE hInstance, // handle to module containing string resource
  12. UINT uID, // resource identifier
  13. char *lpBuffer, // pointer to buffer for resource
  14. int nBufferMax, // size of buffer
  15. UINT uCodepage // desired codepage
  16. );
  17. HRESULT WINAPI HrConvertStringCodepage(UINT uCodepageSrc, char *pchSrc, int cchSrc,
  18. UINT uUcodepageTgt, char *pchTgt, int cchTgtMax, int *pcchTgt,
  19. void *pbScratchBuffer, int iSizeScratchBuffer);
  20. HRESULT WINAPI HrConvertStringCodepageEx(UINT uCodepageSrc, char *pchSrc, int cchSrc,
  21. UINT uUcodepageTgt, char *pchTgt, int cchTgtMax, int *pcchTgt,
  22. void *pbScratchBuffer, int iSizeScratchBuffer,
  23. char *pchDefaultChar, BOOL *pfUsedDefaultChar);
  24. // ************************************************************
  25. #ifdef __cplusplus
  26. }
  27. #endif // __cplusplus
  28. #endif // _LOCRESMAN_H_INCLUDED_