Lines Matching refs:pContext
1499 static int VBoxUsbMonSetNotifyEvent(PVBOXUSBMONCTX pContext, HANDLE hEvent)
1501 int rc = VBoxUsbFltSetNotifyEvent(&pContext->FltCtx, hEvent);
1505 static int VBoxUsbMonFltAdd(PVBOXUSBMONCTX pContext, PUSBFILTER pFilter, uintptr_t *pId)
1513 int rc = VBoxUsbFltAdd(&pContext->FltCtx, pFilter, pId);
1518 static int VBoxUsbMonFltRemove(PVBOXUSBMONCTX pContext, uintptr_t uId)
1523 int rc = VBoxUsbFltRemove(&pContext->FltCtx, uId);
1528 static NTSTATUS VBoxUsbMonRunFilters(PVBOXUSBMONCTX pContext)
1530 NTSTATUS Status = VBoxUsbFltFilterCheck(&pContext->FltCtx);
1534 static NTSTATUS VBoxUsbMonGetDevice(PVBOXUSBMONCTX pContext, HVBOXUSBDEVUSR hDevice, PUSBSUP_GETDEV_MON pInfo)
1536 NTSTATUS Status = VBoxUsbFltGetDevice(&pContext->FltCtx, hDevice, pInfo);
1540 static NTSTATUS vboxUsbMonIoctlDispatch(PVBOXUSBMONCTX pContext, ULONG Ctl, PVOID pvBuffer, ULONG cbInBuffer, ULONG cbOutBuffer, ULONG_PTR* pInfo)
1579 rc = VBoxUsbMonFltAdd(pContext, pFilter, &uId);
1600 int rc = VBoxUsbMonFltRemove(pContext, *pIn);
1622 Status = VBoxUsbMonRunFilters(pContext);
1639 Status = VBoxUsbMonGetDevice(pContext, hDevice, pOut);
1663 pSne->u.rc = VBoxUsbMonSetNotifyEvent(pContext, pSne->u.hEvent);