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

////////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c)1998 Microsoft Corporation, All Rights Reserved
//
// POLLPROV.MOF
//
// Author: Leonardo Montano
//
////////////////////////////////////////////////////////////////////////////////////////
#pragma autorecover
#pragma namespace("\\root\\cimv2\\MicrosoftHealthMonitor")
//////////////////////////////////////////////////////////////////////////////////////////
instance of __Win32Provider
{
Name = "PingPoller";
CLSID = "{C323A0F1-91BA-11d0-9CD2-00AA00A201ED}";
PerUserInitialization = FALSE;
};
////////////////////////////////////////////////////////////////////////////////////////
instance of __MethodProviderRegistration
{
Provider = "__Win32Provider=\"PingPoller\"";
};
////////////////////////////////////////////////////////////////////////////////////////
[dynamic, provider("PingPoller")]
class PingPoller
{
[static,implemented]void Ping( [in]string IPAddress,
[in]uint32 TimeOut = 1000,
[in]uint32 Tries = 3,
[out]uint32 Status);
};