1 /*++
2 
3 Copyright (c) Microsoft Corporation
4 
5 Module Name:
6 
7     package.cpp
8 
9 Abstract:
10 
11     This module implements the base package class.  Other packages will
12     derive from this base class.
13 
14 Author:
15 
16 
17 
18 Environment:
19 
20     Both kernel and user mode
21 
22 Revision History:
23 
24 --*/
25 
26 
27 #include "shared/irphandlers/irphandlerspriv.hpp"
28 
29 #include "fxpackage.hpp"
30 
31 FxPackage::FxPackage(
32     __in PFX_DRIVER_GLOBALS FxDriverGlobals,
33     __in CfxDevice *Device,
34     __in WDFTYPE Type
35     ) :
36     // By passing 0, we are indicating we are an internal object which will not
37     // represented as a WDFHANDLE
38     FxNonPagedObject(Type, 0, FxDriverGlobals)
39 {
40     m_Device = Device;
41 }
42