2 * Process synchronisation
17 /******************************************************************************
18 * NtCreateSemaphore [NTDLL]
20 NTSTATUS WINAPI
NtCreateSemaphore(
21 OUT PHANDLE SemaphoreHandle
,
22 IN ACCESS_MASK DesiredAccess
,
23 IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL
,
24 IN ULONG InitialCount
,
25 IN ULONG MaximumCount
)
27 FIXME(ntdll
,"(%p,0x%08lx,%p(%s),0x%08lx,0x%08lx) stub!\n",
28 SemaphoreHandle
, DesiredAccess
, ObjectAttributes
,
29 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
,
30 InitialCount
, MaximumCount
);
34 /******************************************************************************
35 * NtOpenSemaphore [NTDLL]
37 NTSTATUS WINAPI
NtOpenSemaphore(
38 IN HANDLE SemaphoreHandle
,
39 IN ACCESS_MASK DesiredAcces
,
40 IN POBJECT_ATTRIBUTES ObjectAttributes
)
42 FIXME(ntdll
,"(0x%08x,0x%08lx,%p(%s)) stub!\n",
43 SemaphoreHandle
, DesiredAcces
, ObjectAttributes
,
44 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
);
48 /******************************************************************************
49 * NtQuerySemaphore [NTDLL]
51 NTSTATUS WINAPI
NtQuerySemaphore(
52 HANDLE SemaphoreHandle
,
53 PVOID SemaphoreInformationClass
,
54 OUT PVOID SemaphoreInformation
,
58 FIXME(ntdll
,"(0x%08x,%p,%p,0x%08lx,%p) stub!\n",
59 SemaphoreHandle
, SemaphoreInformationClass
, SemaphoreInformation
, Length
, ReturnLength
);
62 /******************************************************************************
63 * NtReleaseSemaphore [NTDLL]
65 NTSTATUS WINAPI
NtReleaseSemaphore(
66 IN HANDLE SemaphoreHandle
,
67 IN ULONG ReleaseCount
,
68 IN PULONG PreviousCount
)
70 FIXME(ntdll
,"(0x%08x,0x%08lx,%p,) stub!\n",
71 SemaphoreHandle
, ReleaseCount
, PreviousCount
);
79 /**************************************************************************
80 * NtCreateEvent [NTDLL.71]
82 NTSTATUS WINAPI
NtCreateEvent(
83 OUT PHANDLE EventHandle
,
84 IN ACCESS_MASK DesiredAccess
,
85 IN POBJECT_ATTRIBUTES ObjectAttributes
,
86 IN BOOLEAN ManualReset
,
87 IN BOOLEAN InitialState
)
89 FIXME(ntdll
,"(%p,0x%08lx,%p(%s),%08x,%08x): empty stub\n",
90 EventHandle
,DesiredAccess
,ObjectAttributes
,
91 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
,
92 ManualReset
,InitialState
);
96 /******************************************************************************
99 NTSTATUS WINAPI
NtOpenEvent(
100 OUT PHANDLE EventHandle
,
101 IN ACCESS_MASK DesiredAccess
,
102 IN POBJECT_ATTRIBUTES ObjectAttributes
)
104 FIXME(ntdll
,"(%p,0x%08lx,%p(%s)),stub!\n",
105 EventHandle
,DesiredAccess
,ObjectAttributes
,
106 ObjectAttributes
? debugstr_w(ObjectAttributes
->ObjectName
->Buffer
) : NULL
);
110 /******************************************************************************
113 NTSTATUS WINAPI
NtSetEvent(
114 IN HANDLE EventHandle
,
115 PULONG NumberOfThreadsReleased
)
117 FIXME(ntdll
,"(0x%08x,%p)\n",
118 EventHandle
, NumberOfThreadsReleased
);