/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPR0IdcClientComponent.c | 38 * @param pHandle The IDC handle. 41 SUPR0DECL(int) SUPR0IdcComponentRegisterFactory(PSUPDRVIDCHANDLE pHandle, PCSUPDRVFACTORY pFactory) argument 48 AssertPtrReturn(pHandle, VERR_INVALID_HANDLE); 49 AssertPtrReturn(pHandle->s.pSession, VERR_INVALID_HANDLE); 56 Req.Hdr.pSession = pHandle->s.pSession; 59 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_COMPONENT_REGISTER_FACTORY, &Req.Hdr); 67 * @param pHandle The IDC handle. 70 SUPR0DECL(int) SUPR0IdcComponentDeregisterFactory(PSUPDRVIDCHANDLE pHandle, PCSUPDRVFACTORY pFactory) argument 77 AssertPtrReturn(pHandle, VERR_INVALID_HANDLE); 78 AssertPtrReturn(pHandle [all...] |
H A D | SUPR0IdcClient.c | 48 * @param pHandle The handle structure (output). 55 SUPR0DECL(int) SUPR0IdcOpen(PSUPDRVIDCHANDLE pHandle, uint32_t uReqVersion, uint32_t uMinVersion, argument 65 AssertPtrReturn(pHandle, VERR_INVALID_POINTER); 66 pHandle->s.pSession = NULL; 108 rc = supR0IdcNativeOpen(pHandle, &Req); 111 pHandle->s.pSession = Req.u.Out.pSession; 127 ASMAtomicCmpXchgPtr(&g_pMainHandle, pHandle, NULL); 133 SUPR0IdcClose(pHandle); 144 * @param pHandle The IDC handle. 146 SUPR0DECL(int) SUPR0IdcClose(PSUPDRVIDCHANDLE pHandle) argument 205 PSUPDRVIDCHANDLE pHandle = ASMAtomicUoReadPtrT(&g_pMainHandle, PSUPDRVIDCHANDLE); local [all...] |
H A D | SUPR0IdcClientStubs.c | 40 * @param pHandle The IDC handle. 43 static void supR0IdcGetSymbol(PSUPDRVIDCHANDLE pHandle, PFNRT *ppfn, const char *pszName) argument 53 Req.Hdr.pSession = pHandle->s.pSession; 56 rc = supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_GET_SYMBOL, &Req.Hdr); 67 * @param pHandle The IDC handle. 72 PSUPDRVIDCHANDLE pHandle = supR0IdcGetHandleFromSession(pSession); local 73 if (pHandle) 74 supR0IdcGetSymbol(pHandle, ppfn, pszName);
|
/vbox/src/VBox/HostDrivers/Support/darwin/ |
H A D | SUPR0IdcClient-darwin.c | 34 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq) argument 36 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_CONNECT, &pReq->Hdr); 40 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq) argument 42 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_DISCONNECT, pReq); 46 int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq) argument 52 NOREF(pHandle);
|
/vbox/src/VBox/HostDrivers/Support/freebsd/ |
H A D | SUPR0IdcClient-freebsd.c | 34 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq) argument 36 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_CONNECT, &pReq->Hdr); 40 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq) argument 42 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_DISCONNECT, pReq); 46 int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq) argument 52 NOREF(pHandle);
|
/vbox/src/VBox/HostDrivers/Support/linux/ |
H A D | SUPR0IdcClient-linux.c | 34 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq) argument 36 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_CONNECT, &pReq->Hdr); 40 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq) argument 42 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_DISCONNECT, pReq); 46 int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq) argument 52 NOREF(pHandle);
|
/vbox/src/VBox/HostDrivers/Support/os2/ |
H A D | SUPR0IdcClient-os2.c | 34 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq) argument 40 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq) argument 46 int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq) argument
|
/vbox/src/VBox/HostDrivers/Support/solaris/ |
H A D | SUPR0IdcClient-solaris.c | 34 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq) argument 36 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_CONNECT, &pReq->Hdr); 40 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq) argument 42 return supR0IdcNativeCall(pHandle, SUPDRV_IDC_REQ_DISCONNECT, pReq); 46 int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq) argument 52 NOREF(pHandle);
|
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/WebServer/ |
H A D | DhcpOptions.c | 56 EFI_HANDLE * pHandle; local 104 &pHandle ); 117 pEnd = &pHandle [ HandleCount ]; 118 while ( pEnd > pHandle ) { 123 Status = gBS->OpenProtocol ( *pHandle, 151 Status = gBS->OpenProtocol ( *pHandle, 219 pHandle += 1;
|
H A D | Handles.c | 53 EFI_HANDLE * pHandle; local 117 pHandle = pHandleArray; 118 pHandleEnd = &pHandle [ Entries ]; 119 while ( pHandleEnd > pHandle ) { 129 Value = (UINTN) *pHandle; 166 Status = gBS->ProtocolsPerHandle ( *pHandle, 261 pHandle += 1;
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/SocketDxe/ |
H A D | EntryUnload.c | 65 EFI_HANDLE * pHandle; local 72 pHandle = NULL; 87 (VOID **) &pHandle 103 pHandle ); 116 Max = BufferSize / sizeof ( pHandle[ 0 ]); 119 pHandle[ Index ], 124 "WARNING - Failed to shutdown the driver on handle %08x\r\n", pHandle[ Index ])); 143 if ( NULL != pHandle ) { 144 gBS->FreePool ( pHandle );
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPR0IdcClient-win.c | 99 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq) argument 120 pHandle->s.pDeviceObject = pDeviceObject; 121 pHandle->s.pFileObject = pFileObject; 131 pHandle->s.pDeviceObject = NULL; 132 pHandle->s.pFileObject = NULL; 137 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq) argument 139 PFILE_OBJECT pFileObject = pHandle->s.pFileObject; 140 int rc = supR0IdcNtCallInternal(pHandle->s.pDeviceObject, pFileObject, SUPDRV_IDC_REQ_DISCONNECT, pReq); 143 pHandle->s.pDeviceObject = NULL; 144 pHandle 152 supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t uReq, PSUPDRVIDCREQHDR pReq) argument [all...] |
/vbox/src/VBox/HostServices/SharedFolders/ |
H A D | shflhandle.cpp | 177 SHFLFILEHANDLE *pHandle = (SHFLFILEHANDLE *)RTMemAllocZ (sizeof (SHFLFILEHANDLE)); local 179 if (pHandle) 181 pHandle->Header.u32Flags = SHFL_HF_TYPE_DIR; 182 return vbsfAllocHandle(pClient, pHandle->Header.u32Flags, 183 (uintptr_t)pHandle); 191 SHFLFILEHANDLE *pHandle = (SHFLFILEHANDLE *)RTMemAllocZ (sizeof (SHFLFILEHANDLE)); local 193 if (pHandle) 195 pHandle->Header.u32Flags = SHFL_HF_TYPE_FILE; 196 return vbsfAllocHandle(pClient, pHandle->Header.u32Flags, 197 (uintptr_t)pHandle); 205 SHFLFILEHANDLE *pHandle = (SHFLFILEHANDLE *)vbsfQueryHandle(pClient, local [all...] |
/vbox/src/VBox/Additions/os2/VBoxSF/ |
H A D | VBoxSFFind.cpp | 79 PUSHORT pHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 78 FS32_FINDNOTIFYFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT attr, PUSHORT pHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, USHORT level, USHORT flags) argument
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | HGCM.cpp | 112 void vbglHGCMHandleFree (struct VBGLHGCMHANDLEDATA *pHandle) argument 116 if (!pHandle) 124 VBGL_HGCM_ASSERTMsg(pHandle->fAllocated, 127 memset(pHandle, 0, sizeof (struct VBGLHGCMHANDLEDATA)); 132 DECLVBGL(int) VbglHGCMConnect (VBGLHGCMHANDLE *pHandle, VBoxGuestHGCMConnectInfo *pData) argument 137 if (!pHandle || !pData) 153 *pHandle = pHandleData;
|
H A D | VBoxGuestR3LibVideo.cpp | 318 PVBGLR3GUESTPROPENUM pHandle = NULL; local 325 rc = VbglR3GuestPropEnum(u32ClientId, &pszPattern, 1, &pHandle, 339 rc = VbglR3GuestPropEnumNext(pHandle, &pszName, NULL, NULL, NULL); 341 VbglR3GuestPropEnumFree(pHandle);
|
H A D | VBoxGuestR3LibGuestProp.cpp | 699 * @param pHandle Handle obtained from @a VbglR3GuestPropEnum. 716 VBGLR3DECL(int) VbglR3GuestPropEnumNext(PVBGLR3GUESTPROPENUM pHandle, argument 734 char *pchNext = pHandle->pchNext; /* The cursor. */ 735 char *pchEnd = pHandle->pchBufEnd; /* End of buffer, for size calculations. */ 761 pHandle->pchNext = pchNext; 789 * @param pHandle the handle to free 791 VBGLR3DECL(void) VbglR3GuestPropEnumFree(PVBGLR3GUESTPROPENUM pHandle) argument 793 if (!pHandle) 795 RTMemFree(pHandle->pchBuf); 796 RTMemFree(pHandle); 844 PVBGLR3GUESTPROPENUM pHandle; local [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstMemAutoPtr.cpp | 81 TSTMEMAUTOPTRSTRUCT *pHandle = (TSTMEMAUTOPTRSTRUCT *)RTMemRealloc(NULL, sizeof(*pHandle)); local 82 if (pHandle) 84 pHandle->a = RTRandU32(); 85 if (pHandle->a < UINT32_MAX / 2) 87 *ppv = pHandle; 90 RTMemFree(pHandle);
|
/vbox/src/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QISplitter.cpp | 198 QWidget *pHandle = handle(i); local 199 if ( pHandle 200 && pHandle != pWatched) 204 pHandle->mapFromGlobal(pMouseEvent->globalPos()), 209 bool fMarginHit = QRect(pHandle->mapToGlobal(QPoint(0, 0)), pHandle->size()).adjusted(-margin, 0, margin, 0).contains(pMouseEvent->globalPos()); 219 qApp->postEvent(pHandle, new QMouseEvent(newME)); 232 qApp->postEvent(pHandle, new QMouseEvent(newME)); 285 QIShadeSplitterHandle *pHandle = new QIShadeSplitterHandle(orientation(), this); local 287 pHandle [all...] |
/vbox/src/VBox/Additions/common/VBoxControl/testcase/ |
H A D | tstVBoxControl.cpp | 140 VBGLR3DECL(int) VbglR3GuestPropEnumNext(PVBGLR3GUESTPROPENUM pHandle, argument 160 VBGLR3DECL(void) VbglR3GuestPropEnumFree(PVBGLR3GUESTPROPENUM pHandle) argument
|
/vbox/src/VBox/Devices/Audio/ |
H A D | AudioMixer.cpp | 164 int audioMixerControlStream(PAUDIOMIXER pMixer, PAUDMIXSTREAM pHandle) argument
|
/vbox/include/VBox/ |
H A D | VBoxGuestLib.h | 289 * @param pHandle Pointer to variable that will hold a handle to be used 295 DECLVBGL(int) VbglHGCMConnect (VBGLHGCMHANDLE *pHandle, VBoxGuestHGCMConnectInfo *pData); 552 VBGLR3DECL(int) VbglR3GuestPropEnumNext(PVBGLR3GUESTPROPENUM pHandle, char const **ppszName, char const **ppszValue, uint64_t *pu64Timestamp, 554 VBGLR3DECL(void) VbglR3GuestPropEnumFree(PVBGLR3GUESTPROPENUM pHandle); variable
|
/vbox/src/VBox/Main/glue/ |
H A D | AutoLock.cpp | 409 LockHandle *pHandle 415 m->aHandles[0] = pHandle; 438 LockHandle *pHandle = *it; local 439 if (pHandle) 441 this->callLockImpl(*pHandle); 461 LockHandle *pHandle = *it; local 462 if (pHandle) 464 this->callUnlockImpl(*pHandle); 517 LockHandle *pHandle = m->aHandles[0]; local 519 if (pHandle) 619 LockHandle *pHandle = m->aHandles[0]; local [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | HGCMThread.cpp | 137 int MsgAlloc (HGCMMSGHANDLE *pHandle, uint32_t u32MsgId, PFNHGCMNEWMSGALLOC pfnNewMessage); 348 int HGCMThread::MsgAlloc (HGCMMSGHANDLE *pHandle, uint32_t u32MsgId, PFNHGCMNEWMSGALLOC pfnNewMessage) argument 380 *pHandle = hgcmObjGenerateHandle (pmsg); 632 int hgcmThreadCreate (HGCMTHREADHANDLE *pHandle, const char *pszThreadName, PFNHGCMTHREAD pfnThread, void *pvUser) argument 659 *pHandle = handle; 697 int hgcmMsgAlloc (HGCMTHREADHANDLE hThread, HGCMMSGHANDLE *pHandle, uint32_t u32MsgId, PFNHGCMNEWMSGALLOC pfnNewMessage) argument 699 LogFlow(("hgcmMsgAlloc: thread handle = 0x%08X, pHandle = %p, sizeof (HGCMMsgCore) = %d\n", 700 hThread, pHandle, sizeof (HGCMMsgCore))); 702 if (!pHandle) 717 rc = pThread->MsgAlloc (pHandle, u32MsgI [all...] |
/vbox/src/VBox/Additions/WINNT/SharedFolders/driver/ |
H A D | path.c | 31 SHFLHANDLE *pHandle) 408 *pHandle = pCreateParms->Handle; 449 *pHandle = SHFL_HANDLE_NIL; 24 vbsfProcessCreate(PRX_CONTEXT RxContext, PUNICODE_STRING RemainingName, FILE_BASIC_INFORMATION *pFileBasicInfo, FILE_STANDARD_INFORMATION *pFileStandardInfo, PVOID EaBuffer, ULONG EaLength, ULONG *pulCreateAction, SHFLHANDLE *pHandle) argument
|