Home
last modified time | relevance | path

Searched refs:DeviceHandle (Results 1 – 25 of 50) sorted by relevance

12

/reactos/drivers/usb/usbport/
H A Ddevice.c30 DeviceHandle, in USBPORT_SendSetupPacket()
815 if (DeviceHandle) in USBPORT_ValidateDeviceHandle()
929 DeviceHandle, in USBPORT_GetTt()
934 DeviceHandle = DeviceHandle->HubDeviceHandle; in USBPORT_GetTt()
936 if (!DeviceHandle) in USBPORT_GetTt()
940 TtCount = DeviceHandle->TtCount; in USBPORT_GetTt()
1053 if (!DeviceHandle) in USBPORT_CreateDevice()
1329 ASSERT(DeviceHandle != NULL); in USBPORT_InitializeDevice()
1594 DeviceHandle, in USBPORT_RemoveDevice()
1639 if (DeviceHandle->ConfigHandle) in USBPORT_RemoveDevice()
[all …]
H A Durb.c77 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBPORT_AbortPipe() local
83 DeviceHandle = Urb->UrbHeader.UsbdDeviceHandle; in USBPORT_AbortPipe()
181 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBPORT_ClearStall() local
191 DeviceHandle = Urb->UrbHeader.UsbdDeviceHandle; in USBPORT_ClearStall()
209 USBPORT_SendSetupPacket(DeviceHandle, in USBPORT_ClearStall()
228 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBPORT_SyncResetPipeAndClearStall() local
240 DeviceHandle = Urb->UrbHeader.UsbdDeviceHandle; in USBPORT_SyncResetPipeAndClearStall()
700 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBPORT_ValidateURB() local
799 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBPORT_HandleSubmitURB() local
839 if (!DeviceHandle) in USBPORT_HandleSubmitURB()
[all …]
H A Diface.c86 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBHI_GetUsbDescriptors() local
102 &DeviceHandle->DeviceDescriptor, in USBHI_GetUsbDescriptors()
106 Status = USBPORT_GetUsbDescriptor(DeviceHandle, in USBHI_GetUsbDescriptors()
170 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBHI_QueryDeviceInformation() local
194 DeviceHandle = UsbdDeviceHandle; in USBHI_QueryDeviceInformation()
195 ConfigHandle = DeviceHandle->ConfigHandle; in USBHI_QueryDeviceInformation()
234 &DeviceHandle->DeviceDescriptor, in USBHI_QueryDeviceInformation()
239 if (DeviceHandle->DeviceSpeed == UsbFullSpeed || in USBHI_QueryDeviceInformation()
240 DeviceHandle->DeviceSpeed == UsbLowSpeed) in USBHI_QueryDeviceInformation()
560 IN PVOID DeviceHandle) in USBHI_GetDeviceBusContext() argument
[all …]
H A Dendpoint.c448 DeviceHandle, in USBPORT_AddPipeHandle()
479 HandleList = DeviceHandle->PipeHandleList.Flink; in USBPORT_ValidatePipeHandle()
481 while (HandleList != &DeviceHandle->PipeHandleList) in USBPORT_ValidatePipeHandle()
610 USBPORT_RemovePipeHandle(DeviceHandle, PipeHandle); in USBPORT_ClosePipe()
670 Endpoint->DeviceHandle = NULL; in USBPORT_ClosePipe()
764 IN PUSBPORT_DEVICE_HANDLE DeviceHandle, in USBPORT_OpenPipe() argument
789 DeviceHandle, in USBPORT_OpenPipe()
827 Endpoint->DeviceHandle = DeviceHandle; in USBPORT_OpenPipe()
830 Endpoint->TtExtension = DeviceHandle->TtExtension; in USBPORT_OpenPipe()
832 if (DeviceHandle->TtExtension) in USBPORT_OpenPipe()
[all …]
H A Droothub.c461 PdoExtension->DeviceHandle.DeviceAddress = SetupPacket->wValue.LowByte; in USBPORT_RootHubStandardCommand()
753 PUSBPORT_DEVICE_HANDLE DeviceHandle; in USBPORT_RootHubCreateDevice() local
775 DeviceHandle = &PdoExtension->DeviceHandle; in USBPORT_RootHubCreateDevice()
776 USBPORT_AddDeviceHandle(FdoDevice, DeviceHandle); in USBPORT_RootHubCreateDevice()
778 InitializeListHead(&DeviceHandle->PipeHandleList); in USBPORT_RootHubCreateDevice()
780 DeviceHandle->IsRootHub = TRUE; in USBPORT_RootHubCreateDevice()
781 DeviceHandle->DeviceSpeed = UsbFullSpeed; in USBPORT_RootHubCreateDevice()
782 DeviceHandle->Flags = DEVICE_HANDLE_FLAG_ROOTHUB; in USBPORT_RootHubCreateDevice()
893 EndpointDescriptor = &DeviceHandle->PipeHandle.EndpointDescriptor; in USBPORT_RootHubCreateDevice()
903 DeviceHandle, in USBPORT_RootHubCreateDevice()
[all …]
H A Dusbport.h208 PUSBPORT_DEVICE_HANDLE DeviceHandle; member
422 USBPORT_DEVICE_HANDLE DeviceHandle; member
627 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
850 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
856 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
879 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
906 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
925 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
938 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
944 IN PUSBPORT_DEVICE_HANDLE DeviceHandle,
[all …]
/reactos/drivers/bus/acpi/acpica/resources/
H A Drsxface.c81 ACPI_HANDLE DeviceHandle,
102 ACPI_HANDLE DeviceHandle, in AcpiRsValidateParameters() argument
116 if (!DeviceHandle) in AcpiRsValidateParameters()
121 Node = AcpiNsValidateHandle (DeviceHandle); in AcpiRsValidateParameters()
175 ACPI_HANDLE DeviceHandle, in AcpiGetIrqRoutingTable() argument
226 ACPI_HANDLE DeviceHandle, in ACPI_EXPORT_SYMBOL()
274 ACPI_HANDLE DeviceHandle, in ACPI_EXPORT_SYMBOL()
319 ACPI_HANDLE DeviceHandle, in ACPI_EXPORT_SYMBOL()
374 ACPI_HANDLE DeviceHandle, in ACPI_EXPORT_SYMBOL()
487 ACPI_HANDLE DeviceHandle, in ACPI_EXPORT_SYMBOL()
[all …]
/reactos/base/setup/lib/utils/
H A Ddevutils.c40 _Out_ PHANDLE DeviceHandle, in pOpenDeviceEx_UStr() argument
52 return NtOpenFile(DeviceHandle, in pOpenDeviceEx_UStr()
78 _Out_ PHANDLE DeviceHandle) in pOpenDevice_UStr() argument
81 DeviceHandle, in pOpenDevice_UStr()
104 _Out_ PHANDLE DeviceHandle, in pOpenDeviceEx() argument
110 return pOpenDeviceEx_UStr(&Name, DeviceHandle, DesiredAccess, ShareAccess); in pOpenDeviceEx()
130 _Out_ PHANDLE DeviceHandle) in pOpenDevice() argument
134 return pOpenDevice_UStr(&Name, DeviceHandle); in pOpenDevice()
H A Ddevutils.h20 _Out_ PHANDLE DeviceHandle,
27 _Out_ PHANDLE DeviceHandle);
32 _Out_ PHANDLE DeviceHandle,
39 _Out_ PHANDLE DeviceHandle);
/reactos/ntoskrnl/fsrtl/
H A Dunc.c78 FsRtlpOpenDev(OUT PHANDLE DeviceHandle, in FsRtlpOpenDev() argument
95 Status = ZwCreateFile(DeviceHandle, in FsRtlpOpenDev()
110 *DeviceHandle = INVALID_HANDLE_VALUE; in FsRtlpOpenDev()
285 HANDLE DeviceHandle; in FsRtlRegisterUncProvider() local
319 Status = FsRtlpOpenDev(&DeviceHandle, L"\\Device\\Null"); in FsRtlRegisterUncProvider()
340 FsRtlpDRD.NullHandle = DeviceHandle; in FsRtlRegisterUncProvider()
348 Status = FsRtlpOpenDev(&DeviceHandle, L"\\Device\\Mup"); in FsRtlRegisterUncProvider()
374 FsRtlpDRD.MupHandle = DeviceHandle; in FsRtlRegisterUncProvider()
404 *Handle = DeviceHandle; in FsRtlRegisterUncProvider()
409 if (DeviceHandle != INVALID_HANDLE_VALUE && DeviceHandle != 0) in FsRtlRegisterUncProvider()
[all …]
/reactos/dll/win32/mmdrv/
H A Dauxil.c71 HANDLE DeviceHandle; in AuxGetAudio() local
75 Result = OpenDevice(AuxDevice, dwID, &DeviceHandle, GENERIC_READ); in AuxGetAudio()
80 … Result = DeviceIoControl(DeviceHandle, IOCTL_AUX_GET_VOLUME, NULL, 0, (LPVOID)pVolume, sizeVolume, in AuxGetAudio()
84 CloseHandle(DeviceHandle); in AuxGetAudio()
91 HANDLE DeviceHandle; in AuxSetAudio() local
95 Result = OpenDevice(AuxDevice, dwID, &DeviceHandle, GENERIC_READ); in AuxSetAudio()
99 … Result = DeviceIoControl(DeviceHandle, IOCTL_AUX_SET_VOLUME, (LPVOID)pVolume, sizeVolume, NULL, 0, in AuxSetAudio()
103 CloseHandle(DeviceHandle); in AuxSetAudio()
H A Dmidi.c65 HANDLE DeviceHandle; // Midi device handle member
143 Result = OpenDevice(DeviceType, ID, &pClient->DeviceHandle, (GENERIC_READ | GENERIC_WRITE)); in OpenMidiDevice()
200 if ( !DeviceIoControl(pClient->DeviceHandle, IOCTL_MIDI_PLAY, (PVOID)pData, in WriteMidi()
/reactos/modules/rostests/apitests/ntdll/
H A DNtQueryObject.c23 HANDLE DeviceHandle; in START_TEST() local
43 Status = NtOpenFile(&DeviceHandle, in START_TEST()
57 Status = NtQueryObject(DeviceHandle, in START_TEST()
64 Status = NtQueryObject(DeviceHandle, in START_TEST()
71 Status = NtQueryObject(DeviceHandle, in START_TEST()
78 NtClose(DeviceHandle); in START_TEST()
/reactos/modules/rostests/kmtests/ntos_ob/
H A DObQuery.c86 HANDLE DeviceHandle; in ObjectNameInformationTests() local
109 Status = ZwOpenFile(&DeviceHandle, in ObjectNameInformationTests()
120 Status = ZwQueryObject(DeviceHandle, in ObjectNameInformationTests()
127 Status = ZwQueryObject(DeviceHandle, in ObjectNameInformationTests()
134 Status = ZwQueryObject(DeviceHandle, in ObjectNameInformationTests()
141 ZwClose(DeviceHandle); in ObjectNameInformationTests()
/reactos/sdk/include/ddk/
H A Dhubbusif.h178 _In_ PUSB_DEVICE_HANDLE DeviceHandle,
231 _In_ PVOID DeviceHandle);
286 _In_ PVOID DeviceHandle);
321 _In_ PVOID DeviceHandle,
330 _In_ PVOID DeviceHandle,
340 _In_ PUSB_DEVICE_HANDLE DeviceHandle,
359 _In_ PUSB_DEVICE_HANDLE DeviceHandle,
368 _In_ PUSB_DEVICE_HANDLE DeviceHandle,
378 _In_ PUSB_DEVICE_HANDLE DeviceHandle,
388 _In_ PUSB_DEVICE_HANDLE DeviceHandle,
[all …]
/reactos/drivers/battery/compbatt/
H A Dcompmisc.c84 HANDLE DeviceHandle; in CompBattGetDeviceObjectPointer() local
93 Status = ZwCreateFile(&DeviceHandle, in CompBattGetDeviceObjectPointer()
107 Status = ObReferenceObjectByHandle(DeviceHandle, in CompBattGetDeviceObjectPointer()
121 ZwClose(DeviceHandle); in CompBattGetDeviceObjectPointer()
/reactos/dll/directx/dsound_new/
H A Ddevicelist.c37 HDEVINFO DeviceHandle; in OpenDeviceList() local
39 DeviceHandle = SetupDiGetClassDevs(InterfaceGuid, in OpenDeviceList()
45 if (DeviceHandle == INVALID_HANDLE_VALUE) in OpenDeviceList()
52 *OutHandle = DeviceHandle; in OpenDeviceList()
66 HDEVINFO DeviceHandle, in GetDeviceListInterfaces() argument
84 Result = SetupDiEnumDeviceInterfaces(DeviceHandle, in GetDeviceListInterfaces()
115 Result = SetupDiGetDeviceInterfaceDetailW(DeviceHandle, in GetDeviceListInterfaces()
/reactos/sdk/lib/drivers/sound/mment4/
H A Dcontrol.c88 HANDLE DeviceHandle; in GetNt4SoundDeviceCapabilities() local
121 Result = OpenNt4KernelSoundDevice(SoundDevice, TRUE, &DeviceHandle); in GetNt4SoundDeviceCapabilities()
129 Result = SyncOverlappedDeviceIoControl(DeviceHandle, in GetNt4SoundDeviceCapabilities()
137 CloseKernelSoundDevice(DeviceHandle); in GetNt4SoundDeviceCapabilities()
H A Ddetect.c159 HANDLE DeviceHandle; in DetectNt4SoundDevices() local
183 &DeviceHandle) == MMSYSERR_NOERROR ) in DetectNt4SoundDevices()
189 CloseHandle(DeviceHandle); in DetectNt4SoundDevices()
/reactos/drivers/wdm/audio/backpln/audio_test/
H A Daudio_test.c35 HDEVINFO DeviceHandle; in TestKs() local
52 DeviceHandle = SetupDiGetClassDevs(&CategoryGuid, in TestKs()
57 printf("DeviceHandle %p\n", DeviceHandle); in TestKs()
64 Result = SetupDiEnumDeviceInterfaces(DeviceHandle, in TestKs()
82 Result = SetupDiGetDeviceInterfaceDetail(DeviceHandle, in TestKs()
107 SetupDiDestroyDeviceInfoList(DeviceHandle); in TestKs()
/reactos/drivers/usb/usbhub/
H A Dpnp.c363 PUSB_DEVICE_HANDLE DeviceHandle; in USBD_Initialize20Hub() local
439 PVOID DeviceHandle; in USBH_FdoCleanup() local
602 DeviceHandle = InterlockedExchangePointer(&PortExtension->DeviceHandle, in USBH_FdoCleanup()
605 if (DeviceHandle) in USBH_FdoCleanup()
772 if (DeviceHandle) in USBH_StartHubFdoDevice()
1044 PVOID DeviceHandle; in USBH_FdoQueryBusRelations() local
1203 DeviceHandle = InterlockedExchangePointer(&PdoExtension->DeviceHandle, in USBH_FdoQueryBusRelations()
1206 if (DeviceHandle) in USBH_FdoQueryBusRelations()
2189 PVOID DeviceHandle; in USBH_PdoRemoveDevice() local
2276 DeviceHandle = InterlockedExchangePointer(&PortExtension->DeviceHandle, in USBH_PdoRemoveDevice()
[all …]
H A Dusbhub.c872 return DeviceHandle; in USBH_SyncGetDeviceHandle()
1879 PVOID DeviceHandle; in USBH_ProcessPortStateChange() local
1941 DeviceHandle = InterlockedExchangePointer(&PortExtension->DeviceHandle, in USBH_ProcessPortStateChange()
1944 if (DeviceHandle) in USBH_ProcessPortStateChange()
2545 DeviceHandle, in USBD_RemoveDeviceEx()
2617 DeviceHandle, in USBHUB_SetDeviceHandleData()
4389 PUSB_DEVICE_HANDLE DeviceHandle; in USBH_CreateDevice() local
4590 DeviceHandle = InterlockedExchangePointer(&PortExtension->DeviceHandle, in USBH_CreateDevice()
4593 if (DeviceHandle) in USBH_CreateDevice()
4680 DeviceHandle = &PortExtension->DeviceHandle; in USBH_ResetDevice()
[all …]
H A Dusbhub.h211 PUSB_DEVICE_HANDLE DeviceHandle; member
431 IN PUSB_DEVICE_HANDLE DeviceHandle,
534 IN PUSB_DEVICE_HANDLE DeviceHandle,
541 IN PUSB_DEVICE_HANDLE DeviceHandle,
552 IN PVOID DeviceHandle);
566 IN PUSB_DEVICE_HANDLE DeviceHandle);
H A Dioctl.c223 if (PortExtension->DeviceHandle == NULL) in USBH_PdoIoctlSubmitUrb()
230 Urb->UrbHeader.UsbdDeviceHandle = PortExtension->DeviceHandle; in USBH_PdoIoctlSubmitUrb()
310 PUSB_DEVICE_HANDLE DeviceHandle; in USBH_ResetPortWorker() local
335 DeviceHandle = PortExtension->DeviceHandle; in USBH_ResetPortWorker()
340 DeviceHandle != NULL) in USBH_ResetPortWorker()
343 DeviceHandle, in USBH_ResetPortWorker()
902 if (PortExtension->DeviceHandle) in USBH_IoctlGetNodeConnectionInformation()
908 PortExtension->DeviceHandle); in USBH_IoctlGetNodeConnectionInformation()
1351 *(PVOID *)IoStack->Parameters.Others.Argument1 = PortExtension->DeviceHandle; in USBH_PdoInternalControl()
/reactos/base/setup/lib/
H A Dbootsup.c1570 _In_opt_ HANDLE DeviceHandle, in GetDeviceInfo_UStr() argument
1576 if (DeviceName && DeviceHandle) in GetDeviceInfo_UStr()
1595 Status = NtQueryVolumeInformationFile(DeviceHandle, in GetDeviceInfo_UStr()
1605 NtClose(DeviceHandle); in GetDeviceInfo_UStr()
1613 _In_opt_ HANDLE DeviceHandle, in GetDeviceInfo() argument
1618 if (DeviceName && DeviceHandle) in GetDeviceInfo()
1670 HANDLE DeviceHandle; in InstallBootManagerAndBootEntries() local
1746 Status = NtDeviceIoControlFile(DeviceHandle, in InstallBootManagerAndBootEntries()
1764 Status = NtDeviceIoControlFile(DeviceHandle, in InstallBootManagerAndBootEntries()
1786 Status = NtDeviceIoControlFile(DeviceHandle, in InstallBootManagerAndBootEntries()
[all …]

12