91 DWORD dwPositionNotifies,
113 if (pcPositionNotifies[
Index].hEventNotify ==
NULL)
159 DPRINT1(
"Failed to enable event %p Position %u\n", pcPositionNotifies[
Index].hEventNotify, pcPositionNotifies[
Index].
dwOffset);
165 Notify->NotifyCount = dwPositionNotifies;
167 if (
This->EventListHead)
200 CurEventList =
This->EventListHead;
206 if (NewPosition > OldPosition)
227 CurEventList = CurEventList->
lpNext;
#define InterlockedIncrement
#define InterlockedDecrement
BOOL WINAPI SHIM_OBJ_NAME() Notify(DWORD fdwReason, PVOID ptr)
DWORD SyncOverlappedDeviceIoControl(IN HANDLE Handle, IN DWORD IoControlCode, IN LPVOID InBuffer, IN DWORD InBufferSize, OUT LPVOID OutBuffer, IN DWORD OutBufferSize, OUT LPDWORD BytesTransferred OPTIONAL)
static ULONG WINAPI IDirectSoundNotify_fnRelease(LPDIRECTSOUNDNOTIFY iface)
struct CDirectSoundNotifyImpl * LPCDirectSoundNotifyImpl
static IDirectSoundNotifyVtbl vt_DirectSoundNotify
struct tagNOTIFYEVENT NOTIFYEVENT
VOID DoNotifyPositionEvents(LPDIRECTSOUNDNOTIFY iface, DWORD OldPosition, DWORD NewPosition)
static ULONG WINAPI IDirectSoundNotify_fnAddRef(LPDIRECTSOUNDNOTIFY iface)
HRESULT WINAPI IDirectSoundNotify_fnSetNotificationPositions(LPDIRECTSOUNDNOTIFY iface, DWORD dwPositionNotifies, LPCDSBPOSITIONNOTIFY pcPositionNotifies)
struct tagNOTIFYEVENT * LPNOTIFYEVENT
HRESULT WINAPI IDirectSoundNotify_fnQueryInterface(LPDIRECTSOUNDNOTIFY iface, IN REFIID riid, LPVOID *ppobj)
HRESULT NewDirectSoundNotify(LPDIRECTSOUNDNOTIFY *Notify, BOOL bLoop, BOOL bMix, HANDLE hPin, DWORD BufferSize)
#define HeapFree(x, y, z)
#define InterlockedExchangePointer(Target, Value)
#define DSBNOTIFICATIONS_MAX
#define DSERR_OUTOFMEMORY
#define DSERR_INVALIDPARAM
struct IDirectSoundNotify * LPDIRECTSOUNDNOTIFY
#define KSEVENTF_EVENT_HANDLE
#define KSEVENT_TYPE_ENABLE
#define IOCTL_KS_ENABLE_EVENT
_In_ DWORD _In_ DWORD dwOffset
#define IsEqualIID(riid1, riid2)
LPNOTIFYEVENT EventListHead
IDirectSoundNotifyVtbl * lpVtbl
struct KSEVENTDATA::@3017::@3019 EventHandle
PLOOPEDSTREAMING_POSITION_EVENT_DATA Notify
struct tagNOTIFYEVENT * lpNext
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
#define CONTAINING_RECORD(address, type, field)
_In_ WDFCOLLECTION _In_ ULONG Index
_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