Added atom table stubs

Implemented NtQuerySemaphore()
Implemented RtlConvertSidToUnicode()
Replaced more calls to Linux io functions
Some minor fixes

svn path=/trunk/; revision=1392
This commit is contained in:
Eric Kohl 2000-10-08 12:56:45 +00:00
parent 9e2f41853a
commit 8d1034c5fa

View file

@ -1,4 +1,4 @@
/* $Id: event.c,v 1.8 2000/07/01 17:07:02 ea Exp $
/* $Id: event.c,v 1.9 2000/10/08 12:56:45 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -73,9 +73,7 @@ CreateEventW (
ObjectAttributes.Attributes |= OBJ_INHERIT;
}
EventNameString.Buffer = (WCHAR *)lpName;
EventNameString.Length = lstrlenW(lpName)*sizeof(WCHAR);
EventNameString.MaximumLength = EventNameString.Length;
RtlInitUnicodeString(&EventNameString, (LPWSTR)lpName);
ObjectAttributes.ObjectName = &EventNameString;
}
else
@ -120,9 +118,7 @@ OpenEventW (
ObjectAttributes.Attributes = 0;
ObjectAttributes.SecurityDescriptor = NULL;
EventNameString.Buffer = (WCHAR *)lpName;
EventNameString.Length = lstrlenW(lpName)*sizeof(WCHAR);
EventNameString.MaximumLength = EventNameString.Length;
RtlInitUnicodeString(&EventNameString, (LPWSTR)lpName);
ObjectAttributes.ObjectName = &EventNameString;
if (bInheritHandle == TRUE )