ReactOS 0.4.16-dev-109-gf4cb10f
kstypes.h
Go to the documentation of this file.
1#pragma once
2
3typedef struct
4{
7
8typedef struct
9{
10 const KSDEVICE_DESCRIPTOR *Descriptor;
12
13typedef struct
14{
16 KSOBJECT_CREATE_ITEM CreateItem;
18
19
20typedef struct
21{
22 KSDISPATCH_TABLE DispatchTable;
24
27
31
34
36
37 PFNKSCONTEXT_DISPATCH PowerDispatch;
40 PKSOBJECT_CREATE_ITEM OriginalCreateItem;
42
44
45typedef struct
46{
48 PKSOBJECT_CREATE_ITEM CreateItem;
49 PFNKSITEMFREECALLBACK ItemFreeCallback;
53
54typedef struct
55{
57 PKSDEVICE KsDevice;
63 union
64 {
65 PKSDEVICE KsDevice;
66 PKSFILTERFACTORY KsFilterFactory;
67 PKSFILTER KsFilter;
69
70 union
71 {
72 PKSFILTERFACTORY FilterFactory;
73 PKSFILTER Filter;
74 PKSPIN Pin;
75 }Next;
76
77 union
78 {
79 PKSFILTERFACTORY FilterFactory;
80 PKSFILTER Filter;
81 }FirstChild;
82
84
85typedef struct
86{
88 KSDEVICE KsDevice;
89
92
95
99
102
105
108
112
114
115typedef struct
116{
118
120
121typedef struct
122{
127
128typedef struct
129{
133
134typedef struct
135{
141
143
146
147typedef struct
148{
151 union
152 {
155 };
156 union
157 {
160 };
164
165typedef struct
166{
169
170typedef struct
171{
176
177
178
179typedef enum
180{
181 NotStarted = 0, // Not started yet
182 Started, // Device has received the START_DEVICE IRP
183 StopPending, // Device has received the QUERY_STOP IRP
184 Stopped, // Device has received the STOP_DEVICE IRP
185 RemovePending, // Device has received the QUERY_REMOVE IRP
186 SurpriseRemovePending, // Device has received the SURPRISE_REMOVE IRP
187 Deleted
189
190
192{
206
208{
222
225
226typedef struct
227{
234
235typedef struct
236{
240
244
246
247typedef struct
248{
254
255typedef struct
256{
264
265
266typedef struct
267{
273
274
275typedef struct
276{
281
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE Parent
Definition: acpixf.h:732
LONG NTSTATUS
Definition: precomp.h:26
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
ULONG ERESOURCE
Definition: env_spec_w32.h:594
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
Definition: fltkernel.h:1801
NTSTATUS(* KoCreateObjectHandler)(IN REFCLSID ClassId, IN IUnknown *UnkOuter OPTIONAL, IN REFIID InterfaceId, OUT PVOID *Interface)
Definition: kcom.h:67
KSTARGET_STATE
Definition: ks.h:1221
KSOBJECTTYPE
Definition: ks.h:1207
struct _KSEVENT_ENTRY * PKSEVENT_ENTRY
Definition: ks.h:2101
struct DEVICE_EXTENSION * PDEVICE_EXTENSION
struct KSBASIC_HEADER * PKSBASIC_HEADER
struct __BUS_ENUM_DEVICE_EXTENSION__ * PBUS_ENUM_DEVICE_EXTENSION
struct KSPCACHE_DESCRIPTOR * PKSPCACHE_DESCRIPTOR
struct __BUS_DEVICE_ENTRY__ BUS_DEVICE_ENTRY
struct KSIOBJECT_HEADER * PKSIOBJECT_HEADER
BOOLEAN(NTAPI * PKSEVENT_SYNCHRONIZED_ROUTINE)(PKSEVENT_CTX Context)
Definition: kstypes.h:142
struct BUS_INSTALL_ENUM_CONTEXT * PBUS_INSTALL_ENUM_CONTEXT
struct BUS_INSTANCE_ENTRY * PBUS_INSTANCE_ENTRY
struct KO_OBJECT_HEADER * PKO_OBJECT_HEADER
DEVICE_STATE
Definition: kstypes.h:180
@ Deleted
Definition: kstypes.h:187
@ Stopped
Definition: kstypes.h:184
@ NotStarted
Definition: kstypes.h:181
@ SurpriseRemovePending
Definition: kstypes.h:186
@ RemovePending
Definition: kstypes.h:185
@ StopPending
Definition: kstypes.h:183
@ Started
Definition: kstypes.h:182
struct CREATE_ITEM_ENTRY * PCREATE_ITEM_ENTRY
struct PNP_POSTSTART_CONTEXT * PPNP_POSTSTART_CONTEXT
struct KO_DRIVER_EXTENSION * PKO_DRIVER_EXTENSION
struct SYMBOLIC_LINK_ENTRY * PSYMBOLIC_LINK_ENTRY
struct KSPCACHE_PIN_HEADER * PKSPCACHE_PIN_HEADER
struct KSPCACHE_FILTER_HEADER * PKSPCACHE_FILTER_HEADER
struct COMMON_DEVICE_EXTENSION * PCOMMON_DEVICE_EXTENSION
struct DEV_EXTENSION * PDEV_EXTENSION
struct KSPCACHE_DATARANGE * PKSPCACHE_DATARANGE
struct KS_DRIVER_EXTENSION * PKS_DRIVER_EXTENSION
struct KSEVENT_CTX * PKSEVENT_CTX
struct __BUS_DEVICE_ENTRY__ * PBUS_DEVICE_ENTRY
struct KSIDEVICE_HEADER * PKSIDEVICE_HEADER
struct __BUS_ENUM_DEVICE_EXTENSION__ BUS_ENUM_DEVICE_EXTENSION
ULONG ACCESS_MASK
Definition: nt_native.h:40
#define BOOLEAN
Definition: pedump.c:73
long LONG
Definition: pedump.c:60
PBUS_ENUM_DEVICE_EXTENSION BusDeviceExtension
Definition: kstypes.h:229
WORK_QUEUE_ITEM WorkItem
Definition: kstypes.h:232
Definition: kstypes.h:171
LIST_ENTRY Entry
Definition: kstypes.h:172
UNICODE_STRING SymbolicLink
Definition: kstypes.h:174
GUID InterfaceGuid
Definition: kstypes.h:173
ULONG DeviceObjectReferenceCount
Definition: kstypes.h:162
struct __BUS_ENUM_DEVICE_EXTENSION__ * BusDeviceExtension
Definition: kstypes.h:161
PDEVICE_OBJECT DeviceObject
Definition: kstypes.h:153
struct __BUS_DEVICE_ENTRY__ * DeviceEntry
Definition: kstypes.h:158
Definition: kstypes.h:46
PKSOBJECT_CREATE_ITEM CreateItem
Definition: kstypes.h:48
LIST_ENTRY Entry
Definition: kstypes.h:47
LONG ReferenceCount
Definition: kstypes.h:50
LIST_ENTRY ObjectItemList
Definition: kstypes.h:51
PFNKSITEMFREECALLBACK ItemFreeCallback
Definition: kstypes.h:49
PKSIDEVICE_HEADER DeviceHeader
Definition: kstypes.h:117
PCOMMON_DEVICE_EXTENSION Ext
Definition: kstypes.h:167
KoCreateObjectHandler CreateObjectHandler
Definition: kstypes.h:5
KSOBJECT_HEADER ObjectHeader
Definition: kstypes.h:15
KSOBJECT_CREATE_ITEM CreateItem
Definition: kstypes.h:16
PKSFILTER KsFilter
Definition: kstypes.h:67
PUNKNOWN ClientAggregate
Definition: kstypes.h:61
PKSFILTER Filter
Definition: kstypes.h:73
PUNKNOWN OuterUnknown
Definition: kstypes.h:62
LIST_ENTRY EventList
Definition: kstypes.h:59
PKSDEVICE KsDevice
Definition: kstypes.h:57
PKSPIN Pin
Definition: kstypes.h:74
PRKMUTEX ControlMutex
Definition: kstypes.h:58
KSOBJECTTYPE Type
Definition: kstypes.h:56
PKSFILTERFACTORY FilterFactory
Definition: kstypes.h:72
PKSFILTERFACTORY KsFilterFactory
Definition: kstypes.h:66
KSPIN_LOCK EventListLock
Definition: kstypes.h:60
PFILE_OBJECT FileObject
Definition: kstypes.h:137
PIRP Irp
Definition: kstypes.h:139
PKSEVENT_ENTRY EventEntry
Definition: kstypes.h:138
PLIST_ENTRY List
Definition: kstypes.h:136
LONG ItemListCount
Definition: kstypes.h:93
KMUTEX DeviceMutex
Definition: kstypes.h:103
KSBASIC_HEADER BasicHeader
Definition: kstypes.h:87
PDEVICE_OBJECT PnpDeviceObject
Definition: kstypes.h:97
KSDEVICE KsDevice
Definition: kstypes.h:88
LIST_ENTRY ObjectBags
Definition: kstypes.h:107
KMUTEX BagMutex
Definition: kstypes.h:104
LIST_ENTRY PowerDispatchList
Definition: kstypes.h:106
ULONG MaxMappingsByteCount
Definition: kstypes.h:110
ULONG DeviceIndex
Definition: kstypes.h:96
ERESOURCE SecurityLock
Definition: kstypes.h:91
LIST_ENTRY ItemList
Definition: kstypes.h:94
ULONG MappingTableStride
Definition: kstypes.h:111
LIST_ENTRY TargetDeviceList
Definition: kstypes.h:101
PADAPTER_OBJECT AdapterObject
Definition: kstypes.h:109
PDEVICE_OBJECT BaseDevice
Definition: kstypes.h:98
KSTARGET_STATE TargetState
Definition: kstypes.h:100
LIST_ENTRY TargetDeviceListEntry
Definition: kstypes.h:33
PKSOBJECT_CREATE_ITEM OriginalCreateItem
Definition: kstypes.h:40
KSDISPATCH_TABLE DispatchTable
Definition: kstypes.h:22
PDEVICE_OBJECT TargetDevice
Definition: kstypes.h:32
LONG ItemListCount
Definition: kstypes.h:25
PVOID PowerContext
Definition: kstypes.h:38
PVOID ObjectType
Definition: kstypes.h:30
LIST_ENTRY ItemList
Definition: kstypes.h:26
LIST_ENTRY PowerDispatchEntry
Definition: kstypes.h:39
PFNKSCONTEXT_DISPATCH PowerDispatch
Definition: kstypes.h:37
UNICODE_STRING ObjectClass
Definition: kstypes.h:28
ACCESS_MASK AccessMask
Definition: kstypes.h:41
KSOBJECTTYPE Type
Definition: kstypes.h:23
PUNKNOWN Unknown
Definition: kstypes.h:29
PDEVICE_OBJECT ParentDeviceObject
Definition: kstypes.h:35
CLSID Medium
Definition: kstypes.h:277
const KSDEVICE_DESCRIPTOR * Descriptor
Definition: kstypes.h:10
PKSIDEVICE_HEADER DeviceHeader
Definition: kstypes.h:130
PIO_WORKITEM WorkItem
Definition: kstypes.h:131
Definition: kstypes.h:122
LIST_ENTRY Entry
Definition: kstypes.h:123
UNICODE_STRING SymbolicLink
Definition: kstypes.h:124
CLSID DeviceInterfaceClass
Definition: kstypes.h:125
Definition: ketypes.h:699
Definition: typedefs.h:120
Definition: kstypes.h:192
LIST_ENTRY DeviceInterfaceList
Definition: kstypes.h:194
LPWSTR PDODeviceName
Definition: kstypes.h:199
LPWSTR BusId
Definition: kstypes.h:201
LIST_ENTRY Entry
Definition: kstypes.h:193
LARGE_INTEGER TimeExpired
Definition: kstypes.h:203
GUID DeviceGuid
Definition: kstypes.h:198
LPWSTR DeviceName
Definition: kstypes.h:200
LPWSTR Instance
Definition: kstypes.h:204
PDEVICE_OBJECT PDO
Definition: kstypes.h:196
DEVICE_STATE DeviceState
Definition: kstypes.h:197
LARGE_INTEGER TimeCreated
Definition: kstypes.h:202
LIST_ENTRY IrpPendingList
Definition: kstypes.h:195
COMMON_DEVICE_EXTENSION Common
Definition: kstypes.h:209
UNICODE_STRING ServicePath
Definition: kstypes.h:221
PDEVICE_OBJECT PnpDeviceObject
Definition: kstypes.h:214
WORK_QUEUE_ITEM WorkItem
Definition: kstypes.h:219
UNICODE_STRING DeviceInterfaceLink
Definition: kstypes.h:212
PDEVICE_OBJECT PhysicalDeviceObject
Definition: kstypes.h:213
PDEVICE_OBJECT BusDeviceObject
Definition: kstypes.h:215
#define NTAPI
Definition: typedefs.h:36
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
* PFILE_OBJECT
Definition: iotypes.h:1998
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184