ReactOS  0.4.15-dev-3324-gda4e15f
fxpackage.hpp
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft. All rights reserved.
4 
5 Module Name:
6 
7  FxPackage.hpp
8 
9 Abstract:
10 
11  This is the definition of the FxPackage 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 _FXPACKAGE_H_
26 #define _FXPACKAGE_H_
27 
29 {
30 public:
31 
32  FxPackage(
33  __in PFX_DRIVER_GLOBALS FxDriverGlobals,
36  );
37 
38  virtual
39  NTSTATUS
40  Dispatch(
41  __in MdIrp Irp
42  ) = 0;
43 
44  __inline
45  CfxDevice*
47  VOID
48  )
49  {
50  return m_Device;
51  }
52 
54 };
55 
56 #endif // _FXPACKAGE_H_
CfxDevice * m_Device
Definition: fxobject.hpp:329
DECLARE_INTERNAL_NEW_OPERATOR()
__inline CfxDevice * GetDevice(VOID)
Definition: fxpackage.hpp:46
LONG NTSTATUS
Definition: precomp.h:26
_In_ PIRP Irp
Definition: csq.h:116
IWudfIrp * MdIrp
Definition: mxum.h:103
Type
Definition: Type.h:6
FxPackage(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in CfxDevice *Device, __in WDFTYPE Type)
Definition: fxpackage.cpp:31
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
virtual NTSTATUS Dispatch(__in MdIrp Irp)=0
USHORT WDFTYPE
Definition: fxtypes.h:29
#define __in
Definition: dbghelp.h:35