mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:33:12 +00:00
[WDF] Add Windows Driver Framework files
Takern from Microsoft GitHub repo:
d9c6040fe9
Licensed under MIT
This commit is contained in:
parent
545df81502
commit
8a978a179f
475 changed files with 285099 additions and 0 deletions
41
sdk/lib/drivers/wdf/shared/irphandlers/package/fxpackage.cpp
Normal file
41
sdk/lib/drivers/wdf/shared/irphandlers/package/fxpackage.cpp
Normal file
|
@ -0,0 +1,41 @@
|
|||
/*++
|
||||
|
||||
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 "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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue