mirror of https://github.com/tongzx/nt5src
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.
21 lines
345 B
21 lines
345 B
#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
|