93{
98
100
102 {
103
105 }
106
107
109 {
112
113 if (pcPositionNotifies[
Index].hEventNotify ==
NULL)
115
118 }
119
120
123 {
124
126 }
127
128
131 {
132
135 }
136
137
139
140
144
146 {
147
151
153 {
154
156
158 {
159 DPRINT1(
"Failed to enable event %p Position %u\n", pcPositionNotifies[
Index].hEventNotify, pcPositionNotifies[
Index].
dwOffset);
160 }
161 }
162 }
163
164
165 Notify->NotifyCount = dwPositionNotifies;
166
167 if (
This->EventListHead)
168 {
170 }
171
172
174
176}
DWORD SyncOverlappedDeviceIoControl(IN HANDLE Handle, IN DWORD IoControlCode, IN LPVOID InBuffer, IN DWORD InBufferSize, OUT LPVOID OutBuffer, IN DWORD OutBufferSize, OUT LPDWORD BytesTransferred OPTIONAL)
#define InterlockedExchangePointer(Target, Value)
#define DSBNOTIFICATIONS_MAX
#define DSERR_OUTOFMEMORY
#define DSERR_INVALIDPARAM
#define KSEVENTF_EVENT_HANDLE
#define KSEVENT_TYPE_ENABLE
#define IOCTL_KS_ENABLE_EVENT
_In_ DWORD _In_ DWORD dwOffset
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO