windows-nt/Source/XPSP1/NT/net/snmp/subagent/snmpevnt/evntcmd/snmpctrl.h

22 lines
345 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _SNMPCTRL_H
#define _SNMPCTRL_H
class CSNMPController
{
SC_HANDLE m_hServiceController;
SC_HANDLE m_hSNMPService;
public:
CSNMPController();
~CSNMPController();
DWORD LoadSvcHandle();
BOOL IsSNMPRunning();
DWORD StartSNMP();
DWORD StopSNMP();
};
extern CSNMPController gSNMPController;
#endif