Leaked source code of windows server 2003
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.
 
 
 
 
 
 

49 lines
864 B

//***************************************************************************
//
// File:
//
// Module: MS SNMP Provider
//
// Purpose:
//
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
//
//***************************************************************************
#ifndef __SNMPTHREAD_SNMPEVT_H__
#define __SNMPTHREAD_SNMPEVT_H__
#ifdef SNMPTHRD_INIT
class __declspec ( dllexport ) SnmpEventObject
#else
class __declspec ( dllimport ) SnmpEventObject
#endif
{
private:
HANDLE m_event ;
protected:
public:
SnmpEventObject ( const wchar_t *globalEventName = NULL ) ;
virtual ~SnmpEventObject () ;
HANDLE GetHandle () ;
void Set () ;
void Clear () ;
virtual void Process () ;
virtual BOOL Wait () ;
virtual void Complete () ;
} ;
#endif //__SNMPTHREAD_SNMPEVT_H__