Searched defs:pHandle (Results 1 - 25 of 34) sorted by relevance

12

/vbox/src/VBox/HostDrivers/Support/
H A DSUPR0IdcClientComponent.c38 * @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 DSUPR0IdcClient.c48 * @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 DSUPR0IdcClientStubs.c40 * @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 DSUPR0IdcClient-darwin.c34 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 DSUPR0IdcClient-freebsd.c34 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 DSUPR0IdcClient-linux.c34 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 DSUPR0IdcClient-os2.c34 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 DSUPR0IdcClient-solaris.c34 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 DDhcpOptions.c56 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 DHandles.c53 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 DEntryUnload.c65 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 DSUPR0IdcClient-win.c99 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 Dshflhandle.cpp177 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 DVBoxSFFind.cpp79 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 DHGCM.cpp112 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 DVBoxGuestR3LibVideo.cpp318 PVBGLR3GUESTPROPENUM pHandle = NULL; local
325 rc = VbglR3GuestPropEnum(u32ClientId, &pszPattern, 1, &pHandle,
339 rc = VbglR3GuestPropEnumNext(pHandle, &pszName, NULL, NULL, NULL);
341 VbglR3GuestPropEnumFree(pHandle);
H A DVBoxGuestR3LibGuestProp.cpp699 * @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 DtstMemAutoPtr.cpp81 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 DQISplitter.cpp198 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 DtstVBoxControl.cpp140 VBGLR3DECL(int) VbglR3GuestPropEnumNext(PVBGLR3GUESTPROPENUM pHandle, argument
160 VBGLR3DECL(void) VbglR3GuestPropEnumFree(PVBGLR3GUESTPROPENUM pHandle) argument
/vbox/src/VBox/Devices/Audio/
H A DAudioMixer.cpp164 int audioMixerControlStream(PAUDIOMIXER pMixer, PAUDMIXSTREAM pHandle) argument
/vbox/include/VBox/
H A DVBoxGuestLib.h289 * @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 DAutoLock.cpp409 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 DHGCMThread.cpp137 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 Dpath.c31 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

Completed in 94 milliseconds

12