|
ReactOS 0.4.17-dev-1037-g720d112
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Functions | |
| static ULONG NTAPI | UcxTableEntriesForMinor (_In_ ULONG Minor) |
| _IRQL_requires_ (PASSIVE_LEVEL) NTSTATUS NTAPI UcxOnClassLoad(VOID) | |
| Sends a synchronous IOCTL to the specified device object. | |
| PAGED_CODE () | |
| if (ClientGlobals==NULL) return STATUS_INVALID_PARAMETER | |
| if (ClassBindInfo->Version.Major !=UCX_CLASS_MAJOR_VERSION||Minor > UCX_CLASS_MINOR_VERSION) | |
| if (ClassBindInfo->FunctionTableCount !=UcxTableEntriesForMinor(Minor)) | |
| if (Globals==NULL) return STATUS_INSUFFICIENT_RESOURCES | |
| RtlCopyMemory (ClassBindInfo->FunctionTable, UcxExportTable, ClassBindInfo->FunctionTableCount *sizeof(UcxExportTable[0])) | |
| UNREFERENCED_PARAMETER (ComponentGlobals) | |
Variables | |
| static PFN_UCXFUNC | UcxExportTable [UcxFunctionTableNumEntries] |
| WDF_CLASS_LIBRARY_INFO | UcxClassLibraryInfo |
| _Out_ PWDF_COMPONENT_GLOBALS * | ComponentGlobals |
| PUCX_DRIVER_GLOBALS | Globals = (PUCX_DRIVER_GLOBALS)ExAllocatePoolZero(NonPagedPool, sizeof(*Globals), UCX_POOL_TAG) |
| ULONG | Minor = ClassBindInfo->Version.Minor |
| ClientGlobals = (PUCX_DRIVER_GLOBALS *)ClassBindInfo->ClassBindInfo | |
| Globals | Size = sizeof(*Globals) |
| Globals | WdfDriverGlobals = (PWDF_DRIVER_GLOBALS)ComponentGlobals |
| return | STATUS_SUCCESS |
| #define NDEBUG |
Definition at line 10 of file classlib.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 44 of file classlib.cpp.
| if | ( | ClassBindInfo->FunctionTableCount ! | = UcxTableEntriesForMinor(Minor) | ) |
Definition at line 121 of file classlib.cpp.
| if | ( | ClassBindInfo->Version.Major ! | = UCX_CLASS_MAJOR_VERSION || Minor, |
| UCX_CLASS_MINOR_VERSION | |||
| ) |
Definition at line 111 of file classlib.cpp.
| if | ( | ClientGlobals | = =NULL | ) |
| PAGED_CODE | ( | ) |
Referenced by _IRQL_requires_().
| RtlCopyMemory | ( | ClassBindInfo-> | FunctionTable, |
| UcxExportTable | , | ||
| ClassBindInfo->FunctionTableCount * | sizeofUcxExportTable[0] | ||
| ) |
Definition at line 31 of file classlib.cpp.
| UNREFERENCED_PARAMETER | ( | ComponentGlobals | ) |
| * ClientGlobals = (PUCX_DRIVER_GLOBALS *)ClassBindInfo->ClassBindInfo |
Definition at line 103 of file classlib.cpp.
Referenced by WdfVersionBindClass().
| _In_ PWDF_COMPONENT_GLOBALS * ComponentGlobals |
Definition at line 95 of file classlib.cpp.
Referenced by WdfVersionBind(), and WdfVersionUnbind().
| Globals = (PUCX_DRIVER_GLOBALS)ExAllocatePoolZero(NonPagedPool, sizeof(*Globals), UCX_POOL_TAG) |
Definition at line 98 of file classlib.cpp.
| Minor = ClassBindInfo->Version.Minor |
Definition at line 99 of file classlib.cpp.
Referenced by GetVersionInformationFromInfFile(), HalpDispatchPnp(), if(), IsOsVersionGreaterThanOrEqualTo(), _FX_DRIVER_GLOBALS::IsVerificationEnabled(), _FX_DRIVER_GLOBALS::IsVersionGreaterThanOrEqualTo(), QueryAvailableFileSystemFormat(), RamdiskPnp(), TreeView_Set3StateCheck(), UcxTableEntriesForMinor(), USBH_FdoPnP(), USBH_FdoPower(), USBH_PdoPnP(), USBH_PdoPower(), USBPORT_FdoPnP(), USBPORT_PdoPnP(), VgaInterpretCmdStream(), WdmlibRtlIsNtDdiVersionAvailable(), and WsProcSetVersion().
| return STATUS_SUCCESS |
Definition at line 139 of file classlib.cpp.
Referenced by _IRQL_requires_().
| WDF_CLASS_LIBRARY_INFO UcxClassLibraryInfo |
Definition at line 17 of file classlib.cpp.
Referenced by DriverEntry().
|
static |
Definition at line 13 of file classlib.cpp.
Referenced by _IRQL_requires_().
| Globals WdfDriverGlobals = (PWDF_DRIVER_GLOBALS)ComponentGlobals |
Definition at line 132 of file classlib.cpp.
Referenced by _IRQL_requires_max_(), _Outptr_opt_result_bytebuffer_(), _Success_(), _When_(), FxLibraryCommonRegisterClient(), FxLibraryCommonUnregisterClient(), WDF_LIBRARY_REGISTER_CLIENT(), WDF_LIBRARY_UNREGISTER_CLIENT(), WdfDriverMiniportUnload(), WdfGetDriver(), WdfGetTriageInfo(), WdfInterruptGetDevice(), WdfInterruptQueueDpcForIsr(), WdfInterruptQueueWorkItemForIsr(), WdfInterruptWdmGetInterrupt(), WdfObjectAllocateContext(), WdfObjectContextGetObject(), WdfObjectDereferenceActual(), WdfObjectGetTypedContextWorker(), WdfObjectReferenceActual(), WdfRequestSend(), WdfVerifierDbgBreakPoint(), WdfVerifierKeBugCheck(), and WdfWaitLockAcquire().