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.
 
 
 
 
 
 

53 lines
478 B

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
event.h
Abstract:
SIS Groveler sync event class header
Authors:
John Douceur, 1998
Environment:
User Mode
Revision History:
--*/
#ifndef _INC_EVENT
#define _INC_EVENT
class SyncEvent
{
public:
SyncEvent(
bool initial_state,
bool manual_reset);
~SyncEvent();
bool set();
bool reset();
bool wait(
unsigned int timeout);
private:
HANDLE event_handle;
};
#endif /* _INC_EVENT */