2020-09-24 20:51:15 +00:00
|
|
|
/*++
|
|
|
|
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
package.cpp
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
This module implements the base package class. Other packages will
|
|
|
|
derive from this base class.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Environment:
|
|
|
|
|
|
|
|
Both kernel and user mode
|
|
|
|
|
|
|
|
Revision History:
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
|
2020-10-16 03:30:51 +00:00
|
|
|
#include "shared/irphandlers/irphandlerspriv.hpp"
|
2020-09-24 20:51:15 +00:00
|
|
|
|
2020-10-16 03:30:51 +00:00
|
|
|
#include "fxpackage.hpp"
|
2020-09-24 20:51:15 +00:00
|
|
|
|
|
|
|
FxPackage::FxPackage(
|
|
|
|
__in PFX_DRIVER_GLOBALS FxDriverGlobals,
|
|
|
|
__in CfxDevice *Device,
|
|
|
|
__in WDFTYPE Type
|
|
|
|
) :
|
|
|
|
// By passing 0, we are indicating we are an internal object which will not
|
|
|
|
// represented as a WDFHANDLE
|
|
|
|
FxNonPagedObject(Type, 0, FxDriverGlobals)
|
|
|
|
{
|
|
|
|
m_Device = Device;
|
|
|
|
}
|