Sigh... yet another misuse of Object Attributes. Developer Note: Object Attributes are used to pass OBJ_ flags. Not Access Flags.
Modified: trunk/reactos/subsys/smss/init.c
--- trunk/reactos/subsys/smss/init.c 2005-08-09 04:56:29 UTC (rev 17228) +++ trunk/reactos/subsys/smss/init.c 2005-08-09 04:59:19 UTC (rev 17229) @@ -42,8 +42,8 @@
RtlInitUnicodeString (& EventName, L"\\ReactOSInitDone"); InitializeObjectAttributes(&ObjectAttributes, & EventName,
- EVENT_ALL_ACCESS,
0,
+ 0,
NULL); Status = NtOpenEvent(&ReactOSInitEvent, EVENT_ALL_ACCESS,