ReactOS 0.4.17-dev-1037-g720d112
ucxclass.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS USB Host Controller Extension
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: UCX class extension interface for host controller drivers
5 * COPYRIGHT: Copyright 2026 Justin Miller <justinmiller100@gmail.com>
6 */
7
8#pragma once
9
10#ifndef WDFAPI
11#error wdf.h must be included before ucxclass.h
12#endif
13
14#include <ntintsafe.h>
15#include <ntstrsafe.h>
16#include <usb.h>
17#include <usbioctl.h>
18#include <usbdlib.h>
19
20#include "ucxglobals.h"
21#include "ucxfuncenum.h"
22#include "ucxobjects.h"
23#include "ucxusbdevice.h"
24#include "ucxcontroller.h"
25#include "ucxroothub.h"
26#include "ucxendpoint.h"
27#include "ucxsstreams.h"
28
30
31typedef
35(NTAPI *PFN_UCXINITIALIZEDEVICEINIT)(
36 _In_ PUCX_DRIVER_GLOBALS DriverGlobals,
38
45UcxInitializeDeviceInit(
47{
48 PFN_UCXINITIALIZEDEVICEINIT Initialize;
49
52}
53
LONG NTSTATUS
Definition: precomp.h:26
#define NTSTATUS
Definition: precomp.h:19
#define _IRQL_requires_(irql)
Definition: driverspecs.h:229
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define _Inout_
Definition: no_sal2.h:162
#define _Must_inspect_result_
Definition: no_sal2.h:62
#define _In_
Definition: no_sal2.h:158
#define NTAPI
Definition: typedefs.h:36
WDF_EXTERN_C_START typedef _Inout_ PWDFDEVICE_INIT DeviceInit
Definition: ucxclass.h:37
@ UcxInitializeDeviceInitTableIndex
Definition: ucxfuncenum.h:34
#define UCX_BOUND_FUNCTION(PfnType, Slot)
Definition: ucxfuncenum.h:40
WDF_EXTERN_C_START struct _UCX_DRIVER_GLOBALS * PUCX_DRIVER_GLOBALS
PUCX_DRIVER_GLOBALS UcxDriverGlobals
Definition: ucxstub.c:32
#define WDF_EXTERN_C_END
Definition: wdf.h:38
#define WDF_EXTERN_C_START
Definition: wdf.h:37
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfcontrol.h:113
#define FORCEINLINE
Definition: wdftypes.h:67
static void Initialize()
Definition: xlate.c:212