/reactos/sdk/include/dxsdk/ |
H A D | dshow.h | 44 #ifndef InterlockedExchangePointer 45 …#define InterlockedExchangePointer(Target, Value) (PVOID)InterlockedExchange((PLONG)(Target), (LON… macro
|
/reactos/win32ss/gdi/eng/ |
H A D | semaphor.c | 163 (void)InterlockedExchangePointer((volatile PVOID *)&Semaphore->hsem, hSem); in EngInitializeSafeSemaphore() 188 (void)InterlockedExchangePointer((volatile PVOID *)&pssem->hsem, NULL); in EngDeleteSafeSemaphore()
|
/reactos/sdk/lib/rtl/ |
H A D | wait.c | 226 (void)InterlockedExchangePointer( &Wait->CompletionEvent, CompletionEvent ); in RtlDeregisterWaitEx() 235 (void)InterlockedExchangePointer( &Wait->CompletionEvent, CompletionEvent ); in RtlDeregisterWaitEx()
|
H A D | srw.c | 126 (void)InterlockedExchangePointer(&SRWLock->Ptr, (PVOID)NewValue); in RtlpReleaseWaitBlockLockExclusive() 181 (void)InterlockedExchangePointer(&SRWLock->Ptr, (PVOID)NewValue); in RtlpReleaseWaitBlockLockLastShared()
|
/reactos/sdk/lib/crt/startup/ |
H A D | crtdll.c | 112 (void) InterlockedExchangePointer ((volatile PVOID *) &__native_startup_lock, 0); in _CRT_INIT() 145 (void) InterlockedExchangePointer ((volatile PVOID *) &__native_startup_lock, 0); in _CRT_INIT()
|
/reactos/ntoskrnl/ke/ |
H A D | ipi.c | 116 (void)InterlockedExchangePointer(&CurrentPrcb->CurrentPacket[0], Argument); 186 (void)InterlockedExchangePointer((PVOID*)&Prcb->SignalDone, NULL); in KiIpiServiceRoutine()
|
/reactos/sdk/lib/drivers/csq/ |
H A D | csq.c | 361 …Context = (PIO_CSQ_IRP_CONTEXT)InterlockedExchangePointer(&Irp->Tail.Overlay.DriverContext[3], NUL… in IoCsqRemoveIrp() 422 …Context = (PIO_CSQ_IRP_CONTEXT)InterlockedExchangePointer(&Irp->Tail.Overlay.DriverContext[3], NUL… in IoCsqRemoveNextIrp()
|
/reactos/ntoskrnl/ex/ |
H A D | handle.c | 527 Value = InterlockedExchangePointer((PVOID*)&HandleTable->TableCode, (PVOID)TableBase); in ExpAllocateHandleTableEntrySlow() 544 Value = InterlockedExchangePointer((PVOID*)&SecondLevel[i], Low); in ExpAllocateHandleTableEntrySlow() 571 Value = InterlockedExchangePointer((PVOID*)&HandleTable->TableCode, in ExpAllocateHandleTableEntrySlow() 592 Value = InterlockedExchangePointer((PVOID*)&ThirdLevel[i], Mid); in ExpAllocateHandleTableEntrySlow() 607 Value = InterlockedExchangePointer((PVOID*)&ThirdLevel[i][j], Low); in ExpAllocateHandleTableEntrySlow() 1027 Object = InterlockedExchangePointer((PVOID*)&HandleTableEntry->Object, NULL); in ExDestroyHandle()
|
/reactos/ntoskrnl/kd/ |
H A D | kdmain.c | 322 InterlockedExchangePointer((PVOID*)&HalInitPnpDriver, orgHalInitPnpDriver); in KdpInitDriver() 450 InterlockedExchangePointer((PVOID*)&HalInitPnpDriver, KdpInitDriver); in KdDebuggerInitialize1()
|
/reactos/ntoskrnl/ke/amd64/ |
H A D | freeze.c | 179 InterlockedExchangePointer(&KiFreezeOwner, NULL); in KxThawExecution()
|
/reactos/drivers/usb/usbhub/ |
H A D | usbhub.c | 510 InterlockedExchangePointer((PVOID)&HubExtension->pResetPortEvent, in USBH_SyncResetPort() 532 InterlockedExchangePointer((PVOID)&HubExtension->pResetPortEvent, in USBH_SyncResetPort() 561 InterlockedExchangePointer((PVOID)&HubExtension->pResetPortEvent, in USBH_SyncResetPort() 1635 Event = InterlockedExchangePointer((PVOID)&HubExtension->pResetPortEvent, in USBH_ChangeIndicationAckChangeComplete() 1941 DeviceHandle = InterlockedExchangePointer(&PortExtension->DeviceHandle, in USBH_ProcessPortStateChange() 3645 IdleIrp = InterlockedExchangePointer((PVOID)&HubExtension->PendingIdleIrp, in USBH_FdoIdleNotificationRequestComplete() 4545 InterlockedExchangePointer((PVOID)&PortExtension->SerialNumber, NULL); in USBH_CreateDevice() 4573 InterlockedExchangePointer((PVOID)&PortExtension->SerialNumber, in USBH_CreateDevice() 4590 DeviceHandle = InterlockedExchangePointer(&PortExtension->DeviceHandle, in USBH_CreateDevice() 4762 Handle = InterlockedExchangePointer(DeviceHandle, NULL); in USBH_ResetDevice() [all …]
|
/reactos/dll/win32/ws2_32/src/ |
H A D | dprovide.c | 110 WSPCleanup = InterlockedExchangePointer((PVOID*)&Provider->Service.lpWSPCleanup, in WsTpWSPCleanup()
|
H A D | nsprovid.c | 149 lpNSPCleanup = InterlockedExchangePointer((PVOID*)&Provider->Service.NSPCleanup, in WsNpNSPCleanup()
|
/reactos/dll/win32/mcicda/ |
H A D | mcicda.c | 250 HANDLE old = InterlockedExchangePointer(&wmcda->hCallback, NULL); in MCICDA_Notify() 946 oldcb = InterlockedExchangePointer(&wmcda->hCallback, in MCICDA_Play() 952 oldcb = InterlockedExchangePointer(&wmcda->hCallback, NULL); in MCICDA_Play() 1035 oldcb = InterlockedExchangePointer(&wmcda->hCallback, NULL); in MCICDA_Play() 1092 oldcb = InterlockedExchangePointer(&wmcda->hCallback, NULL); in MCICDA_Stop() 1130 oldcb = InterlockedExchangePointer(&wmcda->hCallback, NULL); in MCICDA_Pause()
|
/reactos/dll/win32/mciwave/ |
H A D | mciwave.c | 219 HANDLE old = InterlockedExchangePointer(&wmw->hCallback, NULL); in WAVE_mciNotify() 628 HANDLE old = InterlockedExchangePointer(&wmw->hCallback, NULL); in WAVE_mciStop() 828 oldcb = InterlockedExchangePointer(&wmw->hCallback, in WAVE_mciPlay() 918 oldcb = InterlockedExchangePointer(&wmw->hCallback, NULL); in WAVE_mciPlay() 1064 oldcb = InterlockedExchangePointer(&wmw->hCallback, in WAVE_mciRecord() 1129 oldcb = InterlockedExchangePointer(&wmw->hCallback, NULL); in WAVE_mciRecord() 1144 oldcb = InterlockedExchangePointer(&wmw->hCallback, NULL); in WAVE_mciRecord()
|
/reactos/win32ss/user/ntuser/ |
H A D | callproc.c | 150 (void)InterlockedExchangePointer((PVOID*)&pCls->spcpdFirst, in UserGetCPD()
|
H A D | class.c | 727 (void)InterlockedExchangePointer((PVOID*)ClassLink, in IntGetClassForDesktop() 741 (void)InterlockedExchangePointer((PVOID*)&BaseClass->pclsClone, in IntGetClassForDesktop() 814 (void)InterlockedExchangePointer((PVOID*)BaseClassLink, in IntMakeCloneBaseClass() 889 (void)InterlockedExchangePointer((PVOID*)PrevLink, in IntDereferenceClass() 934 (void)InterlockedExchangePointer((PVOID*)*ClassLinkPtr, in IntMoveClassToSharedHeap() 995 (void)InterlockedExchangePointer((PVOID*)Link, in IntCheckDesktopClasses() 1577 (void)InterlockedExchangePointer((PVOID*)List, in UserRegisterClass() 2425 (void)InterlockedExchangePointer((PVOID*)&ppi->pclsPublicList, in UserRegisterSystemClasses()
|
/reactos/dll/win32/mciqtz32/ |
H A D | mciqtz.c | 152 HANDLE old = InterlockedExchangePointer(&wma->callback, NULL); in MCIQTZ_mciNotify() 346 old = InterlockedExchangePointer(&wma->callback, NULL); in MCIQTZ_notifyThread() 374 old = InterlockedExchangePointer(&wma->callback, NULL); in MCIQTZ_notifyThread() 417 old = InterlockedExchangePointer(&wma->callback, HWND_32(LOWORD(lpParms->dwCallback))); in MCIQTZ_mciPlay()
|
/reactos/dll/win32/mciseq/ |
H A D | mcimidi.c | 170 HANDLE old = InterlockedExchangePointer(&wmm->hCallback, NULL); in MIDI_mciNotify() 768 HANDLE old = InterlockedExchangePointer(&wmm->hCallback, NULL); in MIDI_mciStop() 1083 oldcb = InterlockedExchangePointer(&wmm->hCallback, NULL); in MIDI_player() 1170 oldcb = InterlockedExchangePointer(&wmm->hCallback, NULL); in MIDI_mciPlay() 1178 oldcb = InterlockedExchangePointer(&wmm->hCallback, HWND_32(LOWORD(lpParms->dwCallback))); in MIDI_mciPlay()
|
/reactos/dll/directx/dsound_new/ |
H A D | notify.c | 173 (void)InterlockedExchangePointer((LPVOID*)&This->EventListHead, Notify); in IDirectSoundNotify_fnSetNotificationPositions()
|
/reactos/sdk/include/reactos/wine/ |
H A D | port.h | 347 #define interlocked_xchg_ptr InterlockedExchangePointer
|
/reactos/sdk/lib/atl/ |
H A D | atlcore.h | 214 … return static_cast< HINSTANCE >(InterlockedExchangePointer((void**)&m_hInstResource, hInst)); in SetResourceInstance()
|
/reactos/dll/win32/rpcrt4/ |
H A D | cstub.c | 473 new = InterlockedExchangePointer((void**)&This->pvServerObject, new); in CStdStubBuffer_Connect() 485 old = InterlockedExchangePointer((void**)&This->pvServerObject, NULL); in CStdStubBuffer_Disconnect()
|
/reactos/drivers/bluetooth/fbtusb/ |
H A D | fbtpwr.c | 929 Irp = (PIRP) InterlockedExchangePointer((PVOID*)&DeviceExtension->WaitWakeIrp, in CancelWaitWake() 961 if(InterlockedExchangePointer((PVOID*)&DeviceExtension->WaitWakeIrp, NULL)) in WaitWakeCompletionRoutine()
|
/reactos/drivers/input/i8042prt/ |
H A D | keyboard.c | 210 WaitingIrp = InterlockedExchangePointer((PVOID)&DeviceExtension->PowerIrp, NULL); in i8042PowerWorkItem() 265 WaitingIrp = InterlockedExchangePointer((PVOID)&DeviceExtension->PowerIrp, NULL); in i8042PowerWorkItem()
|