ReactOS  0.4.15-dev-3217-gc6d1646
fxdeviceinterface.hpp
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 Module Name:
6 
7  FxDeviceInterface.hpp
8 
9 Abstract:
10 
11  This module implements the device interface object.
12 
13 Author:
14 
15 
16 
17 Environment:
18 
19  Both kernel and user mode
20 
21 Revision History:
22 
23 --*/
24 
25 #ifndef _FXDEVICEINTERFACE_H_
26 #define _FXDEVICEINTERFACE_H_
27 
28 class FxDeviceInterface : public FxStump
29 {
30 public:
32 
34 
36 
38 
40 
41 #if (FX_CORE_MODE == FX_CORE_USER_MODE)
42  //
43  // This is needed in UM to get hold of host interface
44  //
46 
47 #endif
48 
49 public:
51  VOID
52  );
53 
55  VOID
56  );
57 
58  static
62  )
63  {
65  }
66 
68  NTSTATUS
69  Initialize(
70  __in PFX_DRIVER_GLOBALS FxDriverGlobals,
71  __in CONST GUID* InterfaceGUID,
73  );
74 
75  VOID
76  SetState(
78  );
79 
81  NTSTATUS
82  Register(
84  );
85 
87  NTSTATUS
88  Register(
90  );
91 
92  NTSTATUS
94  _In_ FxString* LinkString
95  );
96 };
97 
98 #endif // _FXDEVICEINTERFACE_H_
UNICODE_STRING m_ReferenceString
_Must_inspect_result_ NTSTATUS Register(__in MdDeviceObject Pdo)
static FxDeviceInterface * _FromEntry(__in PSINGLE_LIST_ENTRY Entry)
Definition: ntbasedef.h:628
#define __in_opt
Definition: dbghelp.h:38
_Must_inspect_result_ NTSTATUS Initialize(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in CONST GUID *InterfaceGUID, __in_opt PCUNICODE_STRING ReferenceString)
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS GetSymbolicLinkName(_In_ FxString *LinkString)
UNICODE_STRING m_SymbolicLinkName
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
Definition: wdfminiport.h:64
unsigned char BOOLEAN
#define _In_
Definition: ms_sal.h:308
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
VOID SetState(__in BOOLEAN State)
#define _Must_inspect_result_
Definition: ms_sal.h:558
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_Must_inspect_result_ _In_ WDFDEVICE _In_ CONST GUID _In_opt_ PCUNICODE_STRING ReferenceString
Definition: wdfdevice.h:3625
SINGLE_LIST_ENTRY m_Entry
MdDeviceObject m_Device
#define __in
Definition: dbghelp.h:35
#define CONST
Definition: pedump.c:81
base of all file and directory entries
Definition: entries.h:82