- Initialize the Lock value of a stream file object.

svn path=/trunk/; revision=13527
This commit is contained in:
Hartmut Birr 2005-02-13 17:09:10 +00:00
parent 6277bda603
commit 516c6b3ffc

View file

@ -245,6 +245,7 @@ IoCreateStreamFileObject(PFILE_OBJECT FileObject,
// shouldn't we initialize the lock event, and several other things here too?
KeInitializeEvent(&CreatedFileObject->Event, NotificationEvent, FALSE);
KeInitializeEvent(&CreatedFileObject->Lock, SynchronizationEvent, TRUE);
return CreatedFileObject;
}