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.

62 lines
1.4 KiB

  1. // **************************************************************************
  2. // Copyright (c) 1998 Microsoft Corporation.
  3. //
  4. // File: net.mof
  5. //
  6. // Description: Columbo .mof file
  7. //
  8. // History:
  9. //
  10. // **************************************************************************
  11. //#pragma autorecover
  12. #pragma deleteclass("Netdiagnostics", nofail)
  13. #pragma namespace("\\\\.\\Root\\cimv2")
  14. instance of __Win32Provider as $P
  15. {
  16. Name = "NetDiagProv";
  17. ClsId = "{8dabe793-23d9-45df-a3db-f442883bb479}";
  18. HostingModel="NetworkServiceHost";
  19. };
  20. instance of __InstanceProviderRegistration
  21. {
  22. Provider = $P;
  23. SupportsGet = TRUE;
  24. SupportsPut = TRUE;
  25. SupportsDelete = TRUE;
  26. SupportsEnumeration = TRUE;
  27. QuerySupportLevels = {"WQL:UnarySelect"};
  28. };
  29. instance of __MethodProviderRegistration
  30. {
  31. Provider = $P;
  32. };
  33. ////////////////////////////////////////////////////////////////////
  34. //
  35. // This defines the class and a single instance of that class which uses
  36. // the sample Dynamic Property Provider
  37. [singleton, dynamic, provider("NetDiagProv")]
  38. class NetDiagnostics
  39. {
  40. sint32 id;
  41. STRING NewsServer;
  42. boolean bIEProxy;
  43. STRING IEProxy;
  44. sint32 IEProxyPort;
  45. sint32 NewsNNTPPort;
  46. [implemented]
  47. boolean Ping([IN]string sInAddr, [out] string sOutArg);
  48. [implemented]
  49. boolean ConnectToPort([IN]string sInAddr, [IN] sint32 port, [out] string sOutArg);
  50. };