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.

44 lines
849 B

  1. #pragma once
  2. // Set this from your DLL_PROCESS_ATTACH if your linking to nls.lib
  3. // from a DLL. It defines the message source module to pull the .mc
  4. // messages from. EXEs do not need to do this as the default value of
  5. // NULL will work as long as the .mc file is linked into the executable.
  6. //
  7. extern HMODULE NlsMsgSourcemModuleHandle;
  8. // NlsPutMsg Handle parameter values
  9. //
  10. #define STDOUT 1
  11. #define STDERR 2
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. UINT
  16. NlsPutMsg (
  17. IN UINT Handle,
  18. IN UINT MsgNumber,
  19. IN ...);
  20. VOID
  21. NlsPerror (
  22. IN UINT MsgNumber,
  23. IN INT ErrorNumber);
  24. UINT
  25. NlsSPrintf (
  26. IN UINT usMsgNum,
  27. OUT char* pszBuffer,
  28. IN DWORD cbSize,
  29. IN ...);
  30. VOID
  31. ConvertArgvToOem (
  32. IN int argc,
  33. IN char* argv[]);
  34. #ifdef __cplusplus
  35. }
  36. #endif