reactos/sdk/lib/drivers/wdf/shared/irphandlers/package/fxpackage.cpp
Victor Perevertkin 1f377076d7
[WDF] Fix KMDF so it can compile with ReactOS SDK
Not all files are included, but these are necessary to compile cdrom driver.
So far it can only be statically linked with drivers, a proper
implementation requires wdfldr helper driver
2020-11-03 00:06:27 +03:00

41 lines
663 B
C++

/*++
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:
--*/
#include "shared/irphandlers/irphandlerspriv.hpp"
#include "fxpackage.hpp"
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;
}