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.

103 lines
3.2 KiB

  1. //**************************************************************************
  2. //* File: pchat.mof
  3. //**************************************************************************
  4. //**************************************************************************
  5. //* This MOF was generated from the "\\.\ROOT\pchealth"
  6. //* To compile this MOF on another machine you should edit this pragma.
  7. //**************************************************************************
  8. #pragma autorecover
  9. #pragma classflags("forceupdate")
  10. #pragma namespace("\\\\.\\ROOT")
  11. instance of __namespace
  12. {
  13. Name = "pchealth";
  14. };
  15. #pragma namespace ("\\\\.\\Root\\pchealth")
  16. //*************************************************************
  17. //*** Registers Framework Provide
  18. //*************************************************************
  19. instance of __Win32Provider as $P
  20. {
  21. Name = "pchatprv";
  22. ClsId = "{5d24c539-5b5b-11d3-8ddd-00c04f688c0b}";
  23. };
  24. instance of __InstanceProviderRegistration
  25. {
  26. Provider = $P;
  27. SupportsGet = TRUE;
  28. SupportsPut = TRUE;
  29. SupportsDelete = TRUE;
  30. SupportsEnumeration = TRUE;
  31. QuerySupportLevels = {"WQL:UnarySelect"};
  32. };
  33. instance of __MethodProviderRegistration
  34. {
  35. Provider = $P;
  36. };
  37. //**************************************************************************
  38. //* Class: PCHAT_PrintSystem
  39. //**************************************************************************
  40. [dynamic: ToInstance, provider("pchatprv")]
  41. class PCHAT_PrintSystem
  42. {
  43. [key] string Name;
  44. string Path;
  45. boolean UsePrintMgrSpooling;
  46. string GenDrv;
  47. string UniDrv;
  48. };
  49. //**************************************************************************
  50. //* Class: PCHAT_Printer
  51. //**************************************************************************
  52. [dynamic: ToInstance, provider("pchatprv")]
  53. class PCHAT_Printer
  54. {
  55. [key] string Name;
  56. string Filename;
  57. uint64 Size;
  58. datetime Date;
  59. string Version;
  60. string Manufacturer;
  61. string Path;
  62. boolean Default;
  63. boolean Paused;
  64. boolean SpoolEnabled;
  65. boolean Network;
  66. uint32 NSTimeout;
  67. uint32 RetryTimeout;
  68. [implemented: ToInstance] void EnableSpooler([in, id(0)] boolean fEnable);
  69. [implemented: ToInstance] void SetAsDefault();
  70. [implemented: ToInstance] void PrinterProperties();
  71. [implemented: ToInstance] void RemovePause();
  72. [implemented: ToInstance] void TestPrinter([in, id(0)] string strURL);
  73. [implemented: ToInstance] void SetTimeouts([in, id(0)] Uint32 uidnsTimeout, [in, id(1)] Uint32 uitxTimeout);
  74. [implemented: ToInstance] Uint32 ErrorStatus();
  75. };
  76. //**************************************************************************
  77. //* Class: PCHAT_PrintJob
  78. //**************************************************************************
  79. [dynamic: ToInstance, provider("pchatprv")]
  80. class PCHAT_PrintJob
  81. {
  82. [key] string Name;
  83. string Document;
  84. string Status;
  85. string User;
  86. datetime TimeSubmitted;
  87. uint32 PagesPrinted;
  88. uint32 Size;
  89. };
  90. //* EOF pchat.mof