/vbox/src/VBox/Additions/WINNT/VBoxHook/testcase/ |
H A D | tstHook.cpp | 24 HANDLE hEvent = CreateEvent(NULL, FALSE, FALSE, VBOXHOOK_GLOBAL_WT_EVENT_NAME); local
|
/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstSupSem-Zombie.cpp | 55 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; local 57 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000); 75 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; local 77 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT); 125 SUPSEMEVENT hEvent = NIL_SUPSEMEVENT; local 126 RTTESTI_CHECK_RC(rc = SUPSemEventCreate(pSession, &hEvent), VINF_SUCCESS); 136 RTTESTI_CHECK_RC(RTThreadCreate(&hThread, tstSupSemSRETimed, (void *)hEvent, 0, RTTHREADTYPE_TIMER, 0 /*fFlags*/, "IntSRE"), VINF_SUCCESS); 138 RTTESTI_CHECK_RC(RTThreadCreate(&hThread, tstSupSemSREInf, (void *)hEvent, 0, RTTHREADTYPE_TIMER, 0 /*fFlags*/, "IntSRE"), VINF_SUCCESS);
|
H A D | tstSupSem.cpp | 57 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; local 59 return SUPSemEventWaitNoResume(g_pSession, hEvent, g_cMillies); 115 SUPSEMEVENT hEvent = NIL_SUPSEMEVENT; local 116 RTTESTI_CHECK_RC(SUPSemEventCreate(pSession, &hEvent), VINF_SUCCESS); 117 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 0), VERR_TIMEOUT); 118 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 1), VERR_TIMEOUT); 119 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 2), VERR_TIMEOUT); 120 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 8), VERR_TIMEOUT); 121 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent,20), VERR_TIMEOUT); 122 RTTESTI_CHECK_RC(SUPSemEventSignal(pSession, hEvent), VINF_SUCCES [all...] |
/vbox/src/VBox/Devices/Audio/ |
H A D | DrvAudio.h | 82 RTSEMEVENT hEvent; member in struct:DRVAUDIO
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPLibSem.cpp | 122 SUPDECL(int) SUPSemEventClose(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 124 if (hEvent == NIL_SUPSEMEVENT) 126 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_CLOSE, 0); 130 SUPDECL(int) SUPSemEventSignal(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 132 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_SIGNAL, 0); 136 SUPDECL(int) SUPSemEventWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 138 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_WAIT_MS_REL, cMillies); 142 SUPDECL(int) SUPSemEventWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t uNsTimeout) argument 144 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_WAIT_NS_ABS, uNsTimeout); 148 SUPDECL(int) SUPSemEventWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_ argument [all...] |
H A D | SUPDrvSem.cpp | 103 SUPDECL(int) SUPSemEventClose(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 112 if (hEvent == NIL_SUPSEMEVENT) 114 h32 = (uint32_t)(uintptr_t)hEvent; 115 if (h32 != (uintptr_t)hEvent) 131 SUPDECL(int) SUPSemEventSignal(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 141 h32 = (uint32_t)(uintptr_t)hEvent; 142 if (h32 != (uintptr_t)hEvent) 158 static int supR0SemEventWaitEx(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t fFlags, uint64_t uTimeout) argument 168 h32 = (uint32_t)(uintptr_t)hEvent; 169 if (h32 != (uintptr_t)hEvent) 185 SUPSemEventWait(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 194 SUPSemEventWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 203 SUPSemEventWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t uNsTimeout) argument 210 SUPSemEventWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t cNsTimeout) argument [all...] |
H A D | SUPDrv.cpp | 1992 SUPSEMEVENT hEvent = (SUPSEMEVENT)(uintptr_t)pReq->u.In.hSem; local 1996 pReq->Hdr.rc = SUPSemEventWaitNoResume(pSession, hEvent, pReq->u.In.uArg.cRelMsTimeout); 1999 pReq->Hdr.rc = SUPSemEventWaitNsAbsIntr(pSession, hEvent, pReq->u.In.uArg.uAbsNsTimeout); 2002 pReq->Hdr.rc = SUPSemEventWaitNsRelIntr(pSession, hEvent, pReq->u.In.uArg.cRelNsTimeout); 2005 pReq->Hdr.rc = SUPSemEventSignal(pSession, hEvent); 2008 pReq->Hdr.rc = SUPSemEventClose(pSession, hEvent); 2067 SUPSEMEVENT hEvent = (SUPSEMEVENT)(uintptr_t)pReq->u.In.hSem; local 2071 REQ_CHECK_EXPR(SUP_IOCTL_SEM_OP3, hEvent == NIL_SUPSEMEVENT); 2072 pReq->Hdr.rc = SUPSemEventCreate(pSession, &hEvent); 2073 pReq->u.Out.hSem = (uint32_t)(uintptr_t)hEvent; [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | PDMAllCritSect.cpp | 137 SUPSEMEVENT hEvent = (SUPSEMEVENT)pCritSect->s.Core.EventSem; local 170 int rc = SUPSemEventWaitNoResume(pSession, hEvent, RT_INDEFINITE_WAIT); 173 int rc = SUPSemEventWaitNoResume(pSession, hEvent, RT_INDEFINITE_WAIT); 607 SUPSEMEVENT hEvent = (SUPSEMEVENT)pCritSect->s.Core.EventSem; local 609 int rc = SUPSemEventSignal(pSession, hEvent);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | timerlr-generic.cpp | 71 RTSEMEVENT hEvent; member in struct:RTTIMERLRINT 118 pThis->hEvent = NIL_RTSEMEVENT; 122 int rc = RTSemEventCreate(&pThis->hEvent); 133 RTSemEventDestroy(pThis->hEvent); 134 pThis->hEvent = NIL_RTSEMEVENT; 164 int rc = RTSemEventSignal(pThis->hEvent); 199 int rc = RTSemEventSignal(pThis->hEvent); 225 int rc = RTSemEventSignal(pThis->hEvent); 264 int rc = RTSemEventSignal(pThis->hEvent); 283 int rc = RTSemEventWait(pThis->hEvent, RT_INDEFINITE_WAI [all...] |
/vbox/src/VBox/Main/src-server/win/ |
H A D | HostDnsServiceWin.cpp | 133 static inline int registerNotification(const HKEY& hKey, HANDLE& hEvent) argument 138 hEvent,
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPHardenedVerify-win.h | 100 HANDLE hEvent; member in struct:SUPHNTVIRDR
|
/vbox/src/VBox/Devices/Serial/ |
H A D | DrvNamedPipe.cpp | 308 HANDLE hEvent = CreateEvent(NULL, TRUE, FALSE, 0); local 317 overlapped.hEvent = hEvent; 375 CloseHandle(hEvent); 464 if (pThis->OverlappedRead.hEvent != NULL) 466 CloseHandle(pThis->OverlappedRead.hEvent); 467 pThis->OverlappedRead.hEvent = NULL; 469 if (pThis->OverlappedWrite.hEvent != NULL) 471 CloseHandle(pThis->OverlappedWrite.hEvent); 472 pThis->OverlappedWrite.hEvent [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxDispCm.cpp | 31 HANDLE hEvent; member in struct:VBOXDISPCM_SESSION 51 BOOL bRc = CloseHandle(pSession->hEvent); 65 HANDLE hEvent = CreateEvent(NULL, local 70 Assert(hEvent); 71 if (hEvent) 73 pSession->hEvent = hEvent; 140 Info.hUmEvent = (uint64_t)g_pVBoxCmMgr.Session.hEvent; 271 SetEvent(pSession->hEvent); 296 DWORD dwResult = WaitForSingleObject(pSession->hEvent, dwMillisecond [all...] |
H A D | VBoxDispKmt.cpp | 377 HANDLE hEvent, uint64_t u64UmInfo) 384 Info.hUmEvent = (uint64_t)hEvent; 374 vboxDispKmtCreateContext(PVBOXDISPKMT_DEVICE pDevice, PVBOXDISPKMT_CONTEXT pContext, VBOXWDDM_CONTEXT_TYPE enmType, uint32_t crVersionMajor, uint32_t crVersionMinor, HANDLE hEvent, uint64_t u64UmInfo) argument
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMCritSect.cpp | 514 SUPSEMEVENT hEvent = (SUPSEMEVENT)pCritSect->Core.EventSem; local 517 SUPSemEventSignal(pVM->pSession, hEvent); 519 int rc = SUPSemEventClose(pVM->pSession, hEvent);
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | rpcasync.h | 150 HANDLE hEvent; member in union:_RPC_ASYNC_NOTIFICATION_INFO
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | rpcasync.h | 143 HANDLE hEvent; member in union:_RPC_ASYNC_NOTIFICATION_INFO
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | localipc-win.cpp | 137 HANDLE hEvent; member in struct:RTLOCALIPCSERVERINT 168 HANDLE hEvent; member in struct:RTLOCALIPCSESSIONINT 363 pThis->hEvent = CreateEvent(NULL /*lpEventAttributes*/, TRUE /*bManualReset*/, 365 if (pThis->hEvent != NULL) 369 pThis->OverlappedIO.hEvent = pThis->hEvent; 379 BOOL fRc = CloseHandle(pThis->hEvent); 404 fRc = CloseHandle(pThis->hEvent); 406 pThis->hEvent = NULL; 438 BOOL fRc = SetEvent(pThis->hEvent); 965 HANDLE hEvent = pThis->OverlappedIO.hEvent; local [all...] |
H A D | pipe-win.cpp | 269 pThisR->Overlapped.hEvent = CreateEvent(NULL, TRUE /*fManualReset*/, 271 if (pThisR->Overlapped.hEvent != NULL) 273 pThisW->Overlapped.hEvent = CreateEvent(NULL, TRUE /*fManualReset*/, 275 if (pThisW->Overlapped.hEvent != NULL) 306 CloseHandle(pThisR->Overlapped.hEvent); 338 DWORD dwRc = WaitForSingleObject(pThis->Overlapped.hEvent, 0); 355 rc = ResetEvent(pThis->Overlapped.hEvent); Assert(rc == TRUE); 418 CloseHandle(pThis->Overlapped.hEvent); 419 pThis->Overlapped.hEvent = NULL; 470 pThis->Overlapped.hEvent 856 HANDLE hEvent = pThis->Overlapped.hEvent; local [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/mon/ |
H A D | VBoxUsbFlt.cpp | 1108 NTSTATUS VBoxUsbFltSetNotifyEvent(PVBOXUSBFLTCTX pContext, HANDLE hEvent) argument 1113 if (hEvent) 1115 Status = ObReferenceObjectByHandle(hEvent,
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | vboxext.c | 49 HANDLE hEvent; member in struct:VBOXEXT_WORKER 93 SetEvent(pWorker->hEvent); 116 SetEvent(pWorker->hEvent); 143 pWorker->hEvent = CreateEvent(NULL, /* LPSECURITY_ATTRIBUTES lpEventAttributes */ 148 if (pWorker->hEvent) 159 DWORD dwResult = WaitForSingleObject(pWorker->hEvent, INFINITE); 201 CloseHandle(pWorker->hEvent); 215 /* need to serialize since vboxExtWorkerThread is using one pWorker->hEvent 223 DWORD dwErr = WaitForSingleObject(pWorker->hEvent, INFINITE);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | vboxext.c | 49 HANDLE hEvent; member in struct:VBOXEXT_WORKER 93 SetEvent(pWorker->hEvent); 116 SetEvent(pWorker->hEvent); 143 pWorker->hEvent = CreateEvent(NULL, /* LPSECURITY_ATTRIBUTES lpEventAttributes */ 148 if (pWorker->hEvent) 159 DWORD dwResult = WaitForSingleObject(pWorker->hEvent, INFINITE); 201 CloseHandle(pWorker->hEvent); 215 /* need to serialize since vboxExtWorkerThread is using one pWorker->hEvent 223 DWORD dwErr = WaitForSingleObject(pWorker->hEvent, INFINITE);
|
/vbox/include/VBox/ |
H A D | usblib-win.h | 248 void* hEvent; member in union:__anon285::__anon286
|
/vbox/src/VBox/Devices/Graphics/ |
H A D | DevVGA_VDMA.cpp | 65 RTSEMEVENT hEvent; member in struct:VBOXVDMATHREAD 878 RTSemEventDestroy(pThread->hEvent); 898 rc = RTSemEventCreate(&pThread->hEvent); 910 RTSemEventDestroy(pThread->hEvent); 922 int rc = RTSemEventSignal(pThread->hEvent); 929 int rc = RTSemEventWait(pThread->hEvent, cMillies); 1089 RTSEMEVENT hEvent; member in struct:VDMA_VBVA_CTL_CYNC_COMPLETION 1096 rc = RTSemEventSignal(pData->hEvent); 1105 int rc = RTSemEventCreate(&Data.hEvent); 1118 rc = RTSemEventWait(Data.hEvent, RT_INDEFINITE_WAI [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/ |
H A D | winbase16.h | 112 HANDLE hEvent; /* fc scheduler event handle */ member in struct:_TDB
|