- Initialize the Lock value of a stream file object. Modified: trunk/reactos/ntoskrnl/io/create.c _____
Modified: trunk/reactos/ntoskrnl/io/create.c --- trunk/reactos/ntoskrnl/io/create.c 2005-02-13 15:38:56 UTC (rev 13526) +++ trunk/reactos/ntoskrnl/io/create.c 2005-02-13 17:09:10 UTC (rev 13527) @@ -245,6 +245,7 @@
// 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; }