mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
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:
parent
9e2f41853a
commit
8d1034c5fa
1 changed files with 3 additions and 7 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue