Lines Matching defs:hDevice
143 HANDLE hDevice;
157 hDevice = RTNT_INVALID_HANDLE_VALUE;
159 NTSTATUS rcNt = NtCreateFile(&hDevice,
177 pThis->hDevice = hDevice;
639 if (pThis->hDevice != NULL)
641 if (!CloseHandle((HANDLE)pThis->hDevice))
643 pThis->hDevice = NIL_RTFILE; /* yes, that's right */
661 NTSTATUS rcNt = NtDeviceIoControlFile((HANDLE)pThis->hDevice, NULL /*hEvent*/, NULL /*pfnApc*/, NULL /*pvApcCtx*/, &Ios,
675 if (DeviceIoControl((HANDLE)pThis->hDevice, uFunction, pvReq, pHdr->cbIn, pvReq, cbReturned, &cbReturned, NULL))
691 NTSTATUS rcNt = NtDeviceIoControlFile((HANDLE)pThis->hDevice, NULL /*hEvent*/, NULL /*pfnApc*/, NULL /*pvApcCtx*/, &Ios,
704 if (DeviceIoControl((HANDLE)pThis->hDevice, uFunction, NULL, 0, (LPVOID)idCpu, 0, &cbReturned, NULL))