windows-nt/Source/XPSP1/NT/net/snmp/subagent/snmpevnt/evntcmd/snmpctrl.h
2020-09-26 16:20:57 +08:00

22 lines
345 B
C++

#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