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.

67 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. basesys.hxx
  5. Abstract:
  6. This class contains the methods thta retrieve a message from a
  7. resource file.
  8. Author:
  9. David J. Gilman (davegi) 13-Jan-1991
  10. Environment:
  11. ULIB, User Mode
  12. --*/
  13. #if !defined( _REGEDIT_BASE_SYSTEM_DEFN_ )
  14. #define _REGEDIT_BASE_SYSTEM_DEFN_
  15. // #include "message.hxx"
  16. #include "wstring.hxx"
  17. #include <stdarg.h>
  18. DEFINE_TYPE( ULONG, MSGID );
  19. class REGEDIT_BASE_SYSTEM {
  20. public:
  21. STATIC
  22. BOOLEAN
  23. QueryResourceString(
  24. OUT PWSTRING ResourceString,
  25. IN MSGID MsgId,
  26. IN PCSTR Format ...
  27. );
  28. STATIC
  29. BOOLEAN
  30. QueryResourceStringV(
  31. OUT PWSTRING ResourceString,
  32. IN MSGID MsgId,
  33. IN PCSTR Format,
  34. IN va_list VarPointer
  35. );
  36. STATIC
  37. PWSTRING
  38. QueryString(
  39. IN MSGID MsgId,
  40. IN PCSTR Format ...
  41. );
  42. };
  43. #endif // _REGEDIT_BASE_SYSTEM_DEFN_