mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:12:59 +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
56
sdk/lib/drivers/wdf/shared/inc/private/common/fxpackage.hpp
Normal file
56
sdk/lib/drivers/wdf/shared/inc/private/common/fxpackage.hpp
Normal file
|
@ -0,0 +1,56 @@
|
|||
/*++
|
||||
|
||||
Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
Module Name:
|
||||
|
||||
FxPackage.hpp
|
||||
|
||||
Abstract:
|
||||
|
||||
This is the definition of the FxPackage object.
|
||||
|
||||
Author:
|
||||
|
||||
|
||||
|
||||
Environment:
|
||||
|
||||
Both kernel and user mode
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _FXPACKAGE_H_
|
||||
#define _FXPACKAGE_H_
|
||||
|
||||
class FxPackage : public FxNonPagedObject
|
||||
{
|
||||
public:
|
||||
|
||||
FxPackage(
|
||||
__in PFX_DRIVER_GLOBALS FxDriverGlobals,
|
||||
__in CfxDevice *Device,
|
||||
__in WDFTYPE Type
|
||||
);
|
||||
|
||||
virtual
|
||||
NTSTATUS
|
||||
Dispatch(
|
||||
__in MdIrp Irp
|
||||
) = 0;
|
||||
|
||||
__inline
|
||||
CfxDevice*
|
||||
GetDevice(
|
||||
VOID
|
||||
)
|
||||
{
|
||||
return m_Device;
|
||||
}
|
||||
|
||||
DECLARE_INTERNAL_NEW_OPERATOR();
|
||||
};
|
||||
|
||||
#endif // _FXPACKAGE_H_
|
Loading…
Add table
Add a link
Reference in a new issue