Lines Matching refs:Notify
16 PLOOPEDSTREAMING_POSITION_EVENT_DATA Notify; member
95 LPNOTIFYEVENT Notify; in IDirectSoundNotify_fnSetNotificationPositions() local
121 Notify = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(NOTIFYEVENT)); in IDirectSoundNotify_fnSetNotificationPositions()
122 if (!Notify) in IDirectSoundNotify_fnSetNotificationPositions()
129 …Notify->Notify = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, dwPositionNotifies * sizeof(LOOPEDS… in IDirectSoundNotify_fnSetNotificationPositions()
130 if (!Notify->Notify) in IDirectSoundNotify_fnSetNotificationPositions()
133 HeapFree(GetProcessHeap(), 0, Notify); in IDirectSoundNotify_fnSetNotificationPositions()
148 Notify->Notify[Index].Position = pcPositionNotifies[Index].dwOffset; in IDirectSoundNotify_fnSetNotificationPositions()
149 … Notify->Notify[Index].KsEventData.EventHandle.Event = pcPositionNotifies[Index].hEventNotify; in IDirectSoundNotify_fnSetNotificationPositions()
150 Notify->Notify[Index].KsEventData.NotificationType = KSEVENTF_EVENT_HANDLE; in IDirectSoundNotify_fnSetNotificationPositions()
155 …in, IOCTL_KS_ENABLE_EVENT, (PVOID)&Request, sizeof(KSEVENT), (PVOID)&Notify->Notify[Index], sizeof… in IDirectSoundNotify_fnSetNotificationPositions()
165 Notify->NotifyCount = dwPositionNotifies; in IDirectSoundNotify_fnSetNotificationPositions()
169 Notify->lpNext = This->EventListHead; in IDirectSoundNotify_fnSetNotificationPositions()
173 (void)InterlockedExchangePointer((LPVOID*)&This->EventListHead, Notify); in IDirectSoundNotify_fnSetNotificationPositions()
209 …if (OldPosition < CurEventList->Notify[Index].Position && CurEventList->Notify[Index].Position <= … in DoNotifyPositionEvents()
212 SetEvent(CurEventList->Notify[Index].KsEventData.EventHandle.Event); in DoNotifyPositionEvents()
218 …if (OldPosition < CurEventList->Notify[Index].Position || NewPosition > CurEventList->Notify[Index… in DoNotifyPositionEvents()
221 SetEvent(CurEventList->Notify[Index].KsEventData.EventHandle.Event); in DoNotifyPositionEvents()
233 LPDIRECTSOUNDNOTIFY * Notify, in NewDirectSoundNotify() argument
252 *Notify = (LPDIRECTSOUNDNOTIFY)&This->lpVtbl; in NewDirectSoundNotify()