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.

21 lines
345 B

  1. #ifndef _SNMPCTRL_H
  2. #define _SNMPCTRL_H
  3. class CSNMPController
  4. {
  5. SC_HANDLE m_hServiceController;
  6. SC_HANDLE m_hSNMPService;
  7. public:
  8. CSNMPController();
  9. ~CSNMPController();
  10. DWORD LoadSvcHandle();
  11. BOOL IsSNMPRunning();
  12. DWORD StartSNMP();
  13. DWORD StopSNMP();
  14. };
  15. extern CSNMPController gSNMPController;
  16. #endif