ReactOS  0.4.15-dev-3165-gdf6fff7
mxdeviceobject.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 ModuleName:
6 
7  MxDeviceObject.h
8 
9 Abstract:
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 {
22 private:
23  //
24  // MdDeviceObject is typedef'ed to appropriate type for the mode
25  // in the mode specific file
26  //
28 
29 public:
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
88  GetFlags(
89  VOID
90  );
91 
92  VOID
93  SetFlags(
94  ULONG Flags
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
120  PVOID Value
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 };
POWER_STATE SetPowerState(__in POWER_STATE_TYPE Type, __in POWER_STATE State)
enum _POWER_STATE_TYPE POWER_STATE_TYPE
ULONG GetCharacteristics(VOID)
CCHAR GetStackSize(VOID)
VOID SetFlags(ULONG Flags)
#define __in_opt
Definition: dbghelp.h:38
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
VOID InvalidateDeviceState(__in MdDeviceObject Fdo)
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
PVOID GetDeviceExtension(VOID)
MdDeviceObject m_DeviceObject
#define _In_
Definition: ms_sal.h:308
MdDeviceObject GetAttachedDeviceReference(VOID)
enum _DEVICE_RELATION_TYPE DEVICE_RELATION_TYPE
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:406
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
char CCHAR
Definition: typedefs.h:51
Type
Definition: Type.h:6
_Must_inspect_result_ _In_ WDFDEVICE Fdo
Definition: wdffdo.h:461
DEVICE_TYPE GetDeviceType(VOID)
VOID SetDeviceExtension(PVOID Value)
ULONG GetAlignmentRequirement(VOID)
__inline MdDeviceObject GetObject(VOID)
VOID SetCharacteristics(ULONG Characteristics)
__inline MxDeviceObject(__in MdDeviceObject DeviceObject)
VOID InvalidateDeviceRelations(__in DEVICE_RELATION_TYPE Type)
#define DEVICE_TYPE
Definition: guid.c:10
__inline VOID SetObject(__in_opt MdDeviceObject DeviceObject)
VOID DereferenceObject()
#define NULL
Definition: types.h:112
unsigned int ULONG
Definition: retypes.h:1
__inline MxDeviceObject(VOID)
VOID SetAlignmentRequirement(_In_ ULONG Value)
ULONG GetFlags(VOID)
#define __in
Definition: dbghelp.h:35
VOID SetDeviceType(DEVICE_TYPE Value)
VOID SetStackSize(_In_ CCHAR Size)