mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00

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
41 lines
663 B
C++
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;
|
|
}
|