2 * Process synchronisation
13 DEFAULT_DEBUG_CHANNEL(ntdll
)
19 /******************************************************************************
20 * NtCreateSemaphore [NTDLL]
22 NTSTATUS WINAPI
NtCreateSemaphore(
23 OUT PHANDLE SemaphoreHandle
,
24 IN ACCESS_MASK DesiredAccess
,
25 IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL
,
26 IN ULONG InitialCount
,
27 IN ULONG MaximumCount
)
29 FIXME(ntdll
,"(%p,0x%08lx,%p(%s),0x%08lx,0x%08lx) stub!\n",
30 SemaphoreHandle
, DesiredAccess
, ObjectAttributes
,
31 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
,
32 InitialCount
, MaximumCount
);
36 /******************************************************************************
37 * NtOpenSemaphore [NTDLL]
39 NTSTATUS WINAPI
NtOpenSemaphore(
40 IN HANDLE SemaphoreHandle
,
41 IN ACCESS_MASK DesiredAcces
,
42 IN POBJECT_ATTRIBUTES ObjectAttributes
)
44 FIXME(ntdll
,"(0x%08x,0x%08lx,%p(%s)) stub!\n",
45 SemaphoreHandle
, DesiredAcces
, ObjectAttributes
,
46 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
);
50 /******************************************************************************
51 * NtQuerySemaphore [NTDLL]
53 NTSTATUS WINAPI
NtQuerySemaphore(
54 HANDLE SemaphoreHandle
,
55 PVOID SemaphoreInformationClass
,
56 OUT PVOID SemaphoreInformation
,
60 FIXME(ntdll
,"(0x%08x,%p,%p,0x%08lx,%p) stub!\n",
61 SemaphoreHandle
, SemaphoreInformationClass
, SemaphoreInformation
, Length
, ReturnLength
);
64 /******************************************************************************
65 * NtReleaseSemaphore [NTDLL]
67 NTSTATUS WINAPI
NtReleaseSemaphore(
68 IN HANDLE SemaphoreHandle
,
69 IN ULONG ReleaseCount
,
70 IN PULONG PreviousCount
)
72 FIXME(ntdll
,"(0x%08x,0x%08lx,%p,) stub!\n",
73 SemaphoreHandle
, ReleaseCount
, PreviousCount
);
81 /**************************************************************************
82 * NtCreateEvent [NTDLL.71]
84 NTSTATUS WINAPI
NtCreateEvent(
85 OUT PHANDLE EventHandle
,
86 IN ACCESS_MASK DesiredAccess
,
87 IN POBJECT_ATTRIBUTES ObjectAttributes
,
88 IN BOOLEAN ManualReset
,
89 IN BOOLEAN InitialState
)
91 FIXME(ntdll
,"(%p,0x%08lx,%p(%s),%08x,%08x): empty stub\n",
92 EventHandle
,DesiredAccess
,ObjectAttributes
,
93 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
,
94 ManualReset
,InitialState
);
98 /******************************************************************************
101 NTSTATUS WINAPI
NtOpenEvent(
102 OUT PHANDLE EventHandle
,
103 IN ACCESS_MASK DesiredAccess
,
104 IN POBJECT_ATTRIBUTES ObjectAttributes
)
106 FIXME(ntdll
,"(%p,0x%08lx,%p(%s)),stub!\n",
107 EventHandle
,DesiredAccess
,ObjectAttributes
,
108 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
);
112 /******************************************************************************
115 NTSTATUS WINAPI
NtSetEvent(
116 IN HANDLE EventHandle
,
117 PULONG NumberOfThreadsReleased
)
119 FIXME(ntdll
,"(0x%08x,%p)\n",
120 EventHandle
, NumberOfThreadsReleased
);