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.

101 lines
3.7 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. lsacstr.cxx
  6. Abstract:
  7. LSA Constant Strings.
  8. Author:
  9. Larry Zhu (Lzhu) May 1, 2001
  10. Revision History:
  11. --*/
  12. #include "precomp.hxx"
  13. #pragma hdrstop
  14. #include "lsacstr.hxx"
  15. namespace LSA_NS {
  16. PCTSTR kstrEmpty = _T("");
  17. PCSTR kstrEmptyA = ("");
  18. PCSTR kstrNewLine = ("\n");
  19. PCSTR kstrStrLn = ("%s\n");
  20. PCSTR kstr2StrLn = ("%s%s\n");
  21. PCSTR kstrLsaDbgPrompt = ("lsaexts> ");
  22. PCSTR kstrSpace = (" ");
  23. PCSTR kstr2Spaces = (" ");
  24. PCSTR kstr4Spaces = (" ");
  25. PCSTR kstr8Spaces = (" ");
  26. PCSTR kstrNullPtrA = ("(null)");
  27. PCWSTR kstrNullPtrW = (L"(null)");
  28. PCSTR kstrInvalid = ("Invalid");
  29. //
  30. // Format strings used to dump SID
  31. //
  32. PCSTR kstrSidNameFmt = ("(%s: %s\\%s)");
  33. PCSTR kstrSdNmFmt = ("%s: %s\\%s");
  34. PCSTR kstrSidFmt = ("%wZ");
  35. PCSTR kstrShowSecBuffer = ("SecBuffer: ");
  36. PCSTR kstrExitOnControlC = ("Exit on Control C");
  37. //
  38. // some type names
  39. //
  40. PCSTR kstrClBk = ("_SPMCallbackAPI");
  41. PCSTR kstrLkpPkgArgs = ("_LSAP_LOOKUP_PACKAGE_ARGS");
  42. PCSTR kstrSA = ("_SID_AND_ATTRIBUTES");
  43. PCSTR kstrSid = ("_SID");
  44. PCSTR kstrPrtMsg = ("_PORT_MESSAGE");
  45. PCSTR kstrSecBuffer = ("_SecBuffer");
  46. PCSTR kstrSecBuffDesc = ("_SecBufferDesc");
  47. PCSTR kstrSpmApiMsg = ("_SPM_API_MESSAGE");
  48. PCSTR kstrSpmCptCntxt = ("_SPMAcceptContextAPI");
  49. PCSTR kstrSpmLpcMsg = ("_SPM_LPC_MESSAGE");
  50. PCSTR kstrSpmNtCntxt = ("_SPMInitSecContextAPI");
  51. PCSTR kstrSpmLpcApi = ("_SPMLPCAPI");
  52. PCSTR kstrListEntry = ("_LIST_ENTRY");
  53. PCSTR kstrLHT = ("_LARGE_HANDLE_TABLE");
  54. PCSTR kstrSHT = ("_SMALL_HANDLE_TABLE");
  55. PCSTR kstrCtxtData = ("ContextData");
  56. PCSTR kstrNext = ("Next");
  57. PCSTR kstrFlink = ("Flink");
  58. PCSTR kstrNextFlink = ("Next.Flink");
  59. PCSTR kstrList = ("List");
  60. PCSTR kstrListFlink = ("List.Flink");
  61. PCSTR kstrSbData = ("sbData");
  62. PCSTR kstrVoidStar = ("void*");
  63. //
  64. // misc
  65. //
  66. PCSTR kstrSbdWrn = ("Only 16 buffers are printed, the buffer descriptor may be wrong\n");
  67. PCSTR kstrIncorrectSymbols =
  68. ("*************************************************************************\n"
  69. "*** ***\n"
  70. "*** ***\n"
  71. "*** Your debugger is not using the correct symbols ***\n"
  72. "*** ***\n"
  73. "*** In order for this command to work properly, your symbol path ***\n"
  74. "*** must point to .pdb files that have full type information. ***\n"
  75. "*** ***\n"
  76. "*** Certain .pdb files (such as the public OS symbols) do not ***\n"
  77. "*** contain the required information. Contact the group that ***\n"
  78. "*** provided you with these symbols if you need this command to ***\n"
  79. "*** work. ***\n"
  80. "*** ***\n"
  81. "*** ***\n"
  82. "*************************************************************************\n");
  83. PCSTR kstrCheckSym = ("try \"dt -x %s\" to check for required type information\n");
  84. } // LSA_NS