Utils: Fix event type for CWdmEvent
Event wrapped by CWdmEvent expected to be NotificationEvent, i.e. not auto-reset. Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
d47bd4d237
commit
5288bfcbcb
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ private:
|
|||
class CWdmEvent : public CAllocatable<NonPagedPool, 'VEHR'>
|
||||
{
|
||||
public:
|
||||
CWdmEvent(EVENT_TYPE Type = SynchronizationEvent, BOOLEAN InitialState = FALSE)
|
||||
CWdmEvent(EVENT_TYPE Type = NotificationEvent, BOOLEAN InitialState = FALSE)
|
||||
{ KeInitializeEvent(&m_Event, Type, InitialState); };
|
||||
|
||||
NTSTATUS Wait(bool WithTimeout = false, LONGLONG Timeout = 0, bool Alertable = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue