ReactOS 0.4.16-dev-306-g647d351
mxdeviceobject.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5ModuleName:
6
7 MxDeviceObject.h
8
9Abstract:
10
11 Mode agnostic definition of Device Object
12
13 See MxDeviceObjectKm.h and MxDeviceObjectUm.h/cpp for mode
14 specific implementations
15
16--*/
17
18#pragma once
19
21{
22private:
23 //
24 // MdDeviceObject is typedef'ed to appropriate type for the mode
25 // in the mode specific file
26 //
28
29public:
30 __inline
33 ) :
35 {
36 }
37
38 __inline
40 VOID
41 ) :
43 {
44 }
45
46 __inline
49 VOID
50 )
51 {
52 return m_DeviceObject;
53 }
54
55 __inline
56 VOID
59 )
60 {
62 }
63
64 CCHAR
66 VOID
67 );
68
69 VOID
72 );
73
74 VOID
76 );
77
80 VOID
81 );
82
83 VOID
85 );
86
87 ULONG
89 VOID
90 );
91
92 VOID
95 );
96
101 );
102
103 VOID
106 );
107
108 VOID
110 __in MdDeviceObject Fdo //used in UMDF
111 );
112
113 PVOID
115 VOID
116 );
117
118 VOID
121 );
122
125 VOID
126 );
127
128 ULONG
130 VOID
131 );
132
133 VOID
136 );
137
138 VOID
140 ULONG Characteristics
141 );
142
143 VOID
146 );
147
148 ULONG
150 VOID
151 );
152};
Type
Definition: Type.h:7
__inline VOID SetObject(__in_opt MdDeviceObject DeviceObject)
VOID SetDeviceType(DEVICE_TYPE Value)
MdDeviceObject m_DeviceObject
VOID SetAlignmentRequirement(_In_ ULONG Value)
VOID SetCharacteristics(ULONG Characteristics)
VOID InvalidateDeviceRelations(__in DEVICE_RELATION_TYPE Type)
DEVICE_TYPE GetDeviceType(VOID)
CCHAR GetStackSize(VOID)
PVOID GetDeviceExtension(VOID)
ULONG GetFlags(VOID)
VOID DereferenceObject()
VOID SetStackSize(_In_ CCHAR Size)
POWER_STATE SetPowerState(__in POWER_STATE_TYPE Type, __in POWER_STATE State)
__inline MdDeviceObject GetObject(VOID)
MdDeviceObject GetAttachedDeviceReference(VOID)
VOID SetDeviceExtension(PVOID Value)
__inline MxDeviceObject(VOID)
VOID SetFlags(ULONG Flags)
__inline MxDeviceObject(__in MdDeviceObject DeviceObject)
#define __in
Definition: dbghelp.h:35
#define __in_opt
Definition: dbghelp.h:38
#define NULL
Definition: types.h:112
#define DEVICE_TYPE
Definition: guid.c:10
return deviceObject GetCharacteristics()
return deviceObject GetAlignmentRequirement()
pDevice InvalidateDeviceState()
#define _In_
Definition: no_sal2.h:158
enum _POWER_STATE_TYPE POWER_STATE_TYPE
uint32_t ULONG
Definition: typedefs.h:59
char CCHAR
Definition: typedefs.h:51
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ WDFDEVICE Fdo
Definition: wdffdo.h:461
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
enum _DEVICE_RELATION_TYPE DEVICE_RELATION_TYPE