Source code of Windows XP (NT5)
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.

97 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Revision History:
  4. --*/
  5. /****************************************************************************
  6. *
  7. * print.h
  8. * --------
  9. *
  10. * Header file WMI printout funcions
  11. *
  12. * Modification History:
  13. *
  14. * drewm - April, 22, 1997 - Original Source
  15. *
  16. ****************************************************************************/
  17. #ifndef _WMI_PRINT_INC
  18. #define _WMI_PRINT_INC
  19. #ifndef OffsetToPtr
  20. #define OffsetToPtr(Base, Offset) ((PBYTE) ((PBYTE)Base + Offset))
  21. #endif
  22. #define MAX_NAME_LENGTH 500
  23. VOID
  24. PrintGuid(
  25. LPGUID lpGuid
  26. );
  27. /*
  28. VOID
  29. PrintClassInfoHeader(
  30. PMOFCLASSINFO pMofClassInfo
  31. );
  32. VOID
  33. PrintDataItem(
  34. PMOFDATAITEM lpDataItem
  35. );
  36. VOID
  37. PrintDataType(
  38. MOFDATATYPE E_DataType
  39. );
  40. VOID
  41. PrintClassQualifier(
  42. LPTSTR lpQualifier,
  43. MOFHANDLE hMofHandle
  44. );
  45. */
  46. VOID
  47. ClearScreen(
  48. VOID
  49. );
  50. VOID
  51. WaitForUser(
  52. VOID
  53. );
  54. VOID PrintDescription(
  55. LPGUID lpGuid
  56. );
  57. VOID
  58. PrintAllData(
  59. IN PWNODE_ALL_DATA Wnode
  60. );
  61. VOID
  62. PrintHeader(
  63. IN WNODE_HEADER Header
  64. );
  65. VOID PrintSingleInstance(
  66. IN PWNODE_SINGLE_INSTANCE Wnode
  67. );
  68. VOID
  69. PrintCountedString(
  70. LPTSTR lpString
  71. );
  72. BOOL
  73. MyIsTextUnicode(
  74. PVOID string
  75. );
  76. #endif
  77.