Home
last modified time | relevance | path

Searched refs:InterlockedExchangePointer (Results 1 – 25 of 64) sorted by relevance

123

/reactos/sdk/include/dxsdk/
H A Ddshow.h44 #ifndef InterlockedExchangePointer
45 …#define InterlockedExchangePointer(Target, Value) (PVOID)InterlockedExchange((PLONG)(Target), (LON… macro
/reactos/win32ss/gdi/eng/
H A Dsemaphor.c163 (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 Dwait.c226 (void)InterlockedExchangePointer( &Wait->CompletionEvent, CompletionEvent ); in RtlDeregisterWaitEx()
235 (void)InterlockedExchangePointer( &Wait->CompletionEvent, CompletionEvent ); in RtlDeregisterWaitEx()
H A Dsrw.c126 (void)InterlockedExchangePointer(&SRWLock->Ptr, (PVOID)NewValue); in RtlpReleaseWaitBlockLockExclusive()
181 (void)InterlockedExchangePointer(&SRWLock->Ptr, (PVOID)NewValue); in RtlpReleaseWaitBlockLockLastShared()
/reactos/sdk/lib/crt/startup/
H A Dcrtdll.c112 (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 Dipi.c116 (void)InterlockedExchangePointer(&CurrentPrcb->CurrentPacket[0], Argument);
186 (void)InterlockedExchangePointer((PVOID*)&Prcb->SignalDone, NULL); in KiIpiServiceRoutine()
/reactos/sdk/lib/drivers/csq/
H A Dcsq.c361 …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 Dhandle.c527 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 Dkdmain.c322 InterlockedExchangePointer((PVOID*)&HalInitPnpDriver, orgHalInitPnpDriver); in KdpInitDriver()
450 InterlockedExchangePointer((PVOID*)&HalInitPnpDriver, KdpInitDriver); in KdDebuggerInitialize1()
/reactos/ntoskrnl/ke/amd64/
H A Dfreeze.c179 InterlockedExchangePointer(&KiFreezeOwner, NULL); in KxThawExecution()
/reactos/drivers/usb/usbhub/
H A Dusbhub.c510 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 Ddprovide.c110 WSPCleanup = InterlockedExchangePointer((PVOID*)&Provider->Service.lpWSPCleanup, in WsTpWSPCleanup()
H A Dnsprovid.c149 lpNSPCleanup = InterlockedExchangePointer((PVOID*)&Provider->Service.NSPCleanup, in WsNpNSPCleanup()
/reactos/dll/win32/mcicda/
H A Dmcicda.c250 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 Dmciwave.c219 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 Dcallproc.c150 (void)InterlockedExchangePointer((PVOID*)&pCls->spcpdFirst, in UserGetCPD()
H A Dclass.c727 (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 Dmciqtz.c152 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 Dmcimidi.c170 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 Dnotify.c173 (void)InterlockedExchangePointer((LPVOID*)&This->EventListHead, Notify); in IDirectSoundNotify_fnSetNotificationPositions()
/reactos/sdk/include/reactos/wine/
H A Dport.h347 #define interlocked_xchg_ptr InterlockedExchangePointer
/reactos/sdk/lib/atl/
H A Datlcore.h214 … return static_cast< HINSTANCE >(InterlockedExchangePointer((void**)&m_hInstResource, hInst)); in SetResourceInstance()
/reactos/dll/win32/rpcrt4/
H A Dcstub.c473 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 Dfbtpwr.c929 Irp = (PIRP) InterlockedExchangePointer((PVOID*)&DeviceExtension->WaitWakeIrp, in CancelWaitWake()
961 if(InterlockedExchangePointer((PVOID*)&DeviceExtension->WaitWakeIrp, NULL)) in WaitWakeCompletionRoutine()
/reactos/drivers/input/i8042prt/
H A Dkeyboard.c210 WaitingIrp = InterlockedExchangePointer((PVOID)&DeviceExtension->PowerIrp, NULL); in i8042PowerWorkItem()
265 WaitingIrp = InterlockedExchangePointer((PVOID)&DeviceExtension->PowerIrp, NULL); in i8042PowerWorkItem()

123