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.

38 lines
1.1 KiB

  1. ////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c)1998 Microsoft Corporation, All Rights Reserved
  4. //
  5. // POLLPROV.MOF
  6. //
  7. // Author: Leonardo Montano
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////////
  10. #pragma autorecover
  11. #pragma namespace("\\root\\cimv2\\MicrosoftHealthMonitor")
  12. //////////////////////////////////////////////////////////////////////////////////////////
  13. instance of __Win32Provider
  14. {
  15. Name = "PingPoller";
  16. CLSID = "{C323A0F1-91BA-11d0-9CD2-00AA00A201ED}";
  17. PerUserInitialization = FALSE;
  18. };
  19. ////////////////////////////////////////////////////////////////////////////////////////
  20. instance of __MethodProviderRegistration
  21. {
  22. Provider = "__Win32Provider=\"PingPoller\"";
  23. };
  24. ////////////////////////////////////////////////////////////////////////////////////////
  25. [dynamic, provider("PingPoller")]
  26. class PingPoller
  27. {
  28. [static,implemented]void Ping( [in]string IPAddress,
  29. [in]uint32 TimeOut = 1000,
  30. [in]uint32 Tries = 3,
  31. [out]uint32 Status);
  32. };