|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | UCX_CONTROL_DEVICE_ATTEMPTS 100 |
Functions | |
| DECLARE_CONST_UNICODE_STRING (UcxKernelOnlySddl, L"D:P") | |
| _IRQL_requires_ (PASSIVE_LEVEL) static NTSTATUS NTAPI UcxCreateControlDevice(_In_ WDFDRIVER Driver) | |
| Sends a synchronous IOCTL to the specified device object. | |
| static VOID NTAPI | UcxEvtDriverUnload (_In_ WDFDRIVER Driver) |
| CODE_SEG ("INIT") NTSTATUS NTAPI DriverEntry(_In_ PDRIVER_OBJECT DriverObject | |
| if (!NT_SUCCESS(Status)) | |
| UcxReadUsbFlags () | |
| DPRINT ("UCX loaded, control device %wZ\n", &UcxDriver.ControlDeviceName) | |
Variables | |
| DRIVER_INITIALIZE | DriverEntry |
| static EVT_WDF_DRIVER_UNLOAD | UcxEvtDriverUnload |
| _In_ PUNICODE_STRING | RegistryPath |
| WDF_DRIVER_CONFIG | Config |
| LARGE_INTEGER | Ticks |
| NTSTATUS | Status = WdfDriverCreate(DriverObject, RegistryPath, WDF_NO_OBJECT_ATTRIBUTES, &Config, &UcxDriver.Driver) |
| UcxDriver | RandomSeed = Ticks.LowPart |
| InitializeListHead & | UcxDriver |
| UcxDriver | ControllerCount = 0 |
| Config | DriverInitFlags = WdfDriverInitNonPnpDriver |
| Config | EvtDriverUnload = UcxEvtDriverUnload |
| Config | DriverPoolTag = UCX_POOL_TAG |
| UcxDriver | IoTryQueueWorkItem |
| return | STATUS_SUCCESS |
| #define NDEBUG |
Definition at line 10 of file driver.cpp.
| #define UCX_CONTROL_DEVICE_ATTEMPTS 100 |
Definition at line 13 of file driver.cpp.
| _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
| [in] | IoControlCode | The IOCTL to send to the device. |
| [in] | DeviceObject | Pointer to the device object that will handle the IOCTL. |
| [in] | InputBuffer | Optional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size. |
| [in] | InputBufferLength | Size in bytes, of the buffer pointed by InputBuffer. |
| [out] | OutputBuffer | Optional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size. |
| [in] | OutputBufferLength | Size in bytes, of the buffer pointed by OutputBuffer. |
| [in] | FileObject | Optional pointer to a file object that may be necessary for the IOCTL. |
Definition at line 22 of file driver.cpp.
| CODE_SEG | ( | "INIT" | ) |
Definition at line 246 of file Interface.c.
| DECLARE_CONST_UNICODE_STRING | ( | UcxKernelOnlySddl | , |
| L"D:P" | |||
| ) |
| if | ( | ! | NT_SUCCESSStatus | ) |
Definition at line 148 of file driver.cpp.
Definition at line 108 of file driver.cpp.
| UcxReadUsbFlags | ( | ) |
Definition at line 131 of file driver.cpp.
| UcxDriver ControllerCount = 0 |
Definition at line 140 of file driver.cpp.
| DRIVER_INITIALIZE DriverEntry |
Definition at line 15 of file driver.cpp.
| Config DriverInitFlags = WdfDriverInitNonPnpDriver |
Definition at line 143 of file driver.cpp.
| Config DriverPoolTag = UCX_POOL_TAG |
Definition at line 145 of file driver.cpp.
| Config EvtDriverUnload = UcxEvtDriverUnload |
Definition at line 144 of file driver.cpp.
| UcxDriver IoTryQueueWorkItem |
Definition at line 170 of file driver.cpp.
| UcxDriver RandomSeed = Ticks.LowPart |
Definition at line 136 of file driver.cpp.
Referenced by FxRandom(), and START_TEST().
Definition at line 128 of file driver.cpp.
| Status = WdfDriverCreate(DriverObject, RegistryPath, WDF_NO_OBJECT_ATTRIBUTES, &Config, &UcxDriver.Driver) |
Definition at line 133 of file driver.cpp.
Referenced by _IRQL_requires_(), and if().
| return STATUS_SUCCESS |
Definition at line 176 of file driver.cpp.
Referenced by _IRQL_requires_().
| KeQueryTickCount & Ticks |
Definition at line 132 of file driver.cpp.
Referenced by AcpiGetTimer(), ClockUpdate(), CTESystemUpTime(), XhciController::NowMs(), and UpdateLanStatusUiDlg().
| KeInitializeSpinLock & UcxDriver |
Definition at line 138 of file driver.cpp.
Referenced by _IRQL_requires_(), UcxController::Destroy(), _UCXHUB_WORKITEM::Enqueue(), UcxController::Initialize(), UcxComputeMaxTransferSize(), and UcxEvtDriverUnload().
|
static |
Definition at line 16 of file driver.cpp.