windows-nt/Source/XPSP1/NT/admin/netui/common/h/w32event.hxx
2020-09-26 16:20:57 +08:00

75 lines
1.4 KiB
C++

/**********************************************************************/
/** Microsoft Windows/NT **/
/** Copyright(c) Microsoft Corp., 1992 **/
/**********************************************************************/
/*
w32event.hxx
Class declarations for the WIN32_EVENT class.
<Multi-Line, more detailed synopsis>
FILE HISTORY:
KeithMo 21-Jan-1992 Created.
*/
#ifndef _W32EVENT_HXX_
#define _W32EVENT_HXX_
#include "w32sync.hxx"
/*************************************************************************
NAME: WIN32_EVENT
SYNOPSIS:
INTERFACE: WIN32_EVENT - Class constructor.
~WIN32_EVENT - Class destructor.
PARENT:
USES:
CAVEATS:
NOTES:
HISTORY:
KeithMo 21-Jan-1992 Created.
**************************************************************************/
DLL_CLASS WIN32_EVENT : public WIN32_SYNC_BASE
{
public:
//
// Usual constructor/destructor goodies.
//
WIN32_EVENT( const TCHAR * pszName = NULL,
BOOL fManualReset = TRUE,
BOOL fInitialState = FALSE );
~WIN32_EVENT();
//
// Event manipulation.
//
APIERR Set( VOID );
APIERR Reset( VOID );
APIERR Pulse( VOID );
}; // class WIN32_EVENT
#endif // _W32EVENT_HXX_