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 28 class FxPackage : public FxNonPagedObject 29 { 30 public: 31 32 FxPackage( 33 __in PFX_DRIVER_GLOBALS FxDriverGlobals, 34 __in CfxDevice *Device, 35 __in WDFTYPE Type 36 ); 37 38 virtual 39 NTSTATUS 40 Dispatch( 41 __in MdIrp Irp 42 ) = 0; 43 44 __inline 45 CfxDevice* 46 GetDevice( 47 VOID 48 ) 49 { 50 return m_Device; 51 } 52 53 DECLARE_INTERNAL_NEW_OPERATOR(); 54 }; 55 56 #endif // _FXPACKAGE_H_ 57