ReactOS 0.4.15-dev-7834-g00c4b3d
pnpprivkm.hpp
Go to the documentation of this file.
1//
2// Copyright (C) Microsoft. All rights reserved.
3//
4#ifndef _PNPPRIVKM_H_
5#define _PNPPRIVKM_H_
6
7// public headers
8#include "wdfdmaenabler.h"
9
10// private headers
11#include "fxirpqueue.hpp"
12#include "fxcallback.hpp"
13
14// <FxSystemWorkItem.hpp>
15__drv_functionClass(EVT_SYSTEMWORKITEM)
19typedef
20VOID
21EVT_SYSTEMWORKITEM(
23 );
24
25typedef EVT_SYSTEMWORKITEM *PFN_WDF_SYSTEMWORKITEM;
26
27// </FxSystemWorkItem.hpp>
28
31#include "fxpackage.hpp"
32#include "ifxmemory.hpp"
33#include "fxcallback.hpp"
34#include "fxrequestcontext.hpp"
36#include "fxrequestbase.hpp"
37#include "fxrequest.hpp"
38#include "fxpkgpnp.hpp"
39#include "fxpkgio.hpp"
40#include "fxioqueue.hpp"
41
42#include "fxdmaenabler.hpp"
43#include "fxsystemworkitem.hpp"
44
45// #include "FxDsf.h" // DSF support.
46// #include <device_common.h>
47// #include "FxTelemetry.hpp"
48// __REACTOS__
49typedef struct _STACK_DEVICE_CAPABILITIES {
50 //
51 // The capabilities as garnered from IRP_MN_QUERY_CAPABILITIES.
52 //
54
55 //
56 // The lowest-power D-state that a device can be in and still generate
57 // a wake signal, indexed by system state. (PowerSystemUnspecified is
58 // an unused slot in this array.)
59 //
62// end __REACTOS__
63
64
68 __in MxDeviceObject* RelatedDevice,
69 __inout FxIrp* RelatedIrp,
71 __in BOOLEAN Revert
72 );
73
74IO_WORKITEM_ROUTINE
76
78
80 VOID
81 )
82 {
87 }
88
90
92
94
96
98
100};
101
102
103#endif // _PNPPRIVKM_H_
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
Definition: fxirp.hpp:28
_In_ PTRANSFER_PACKET _In_ ULONG _In_ PIRP OriginalIrp
Definition: classp.h:1757
#define __in
Definition: dbghelp.h:35
#define __inout
Definition: dbghelp.h:50
#define NULL
Definition: types.h:112
#define __drv_maxFunctionIRQL(irql)
Definition: driverspecs.h:290
#define __drv_maxIRQL(irql)
Definition: driverspecs.h:291
#define __drv_functionClass(x)
Definition: driverspecs.h:274
#define __drv_sameIRQL
Definition: driverspecs.h:325
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696
Status
Definition: gdiplustypes.h:25
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
@ PowerSystemHibernate
Definition: ntpoapi.h:40
_Must_inspect_result_ NTSTATUS SendDeviceUsageNotificationWorker(__in MxDeviceObject *RelatedDevice, __inout FxIrp *RelatedIrp, __in FxIrp *OriginalIrp, __in BOOLEAN Revert)
Definition: supportkm.cpp:264
IO_WORKITEM_ROUTINE _DeviceUsageNotificationWorkItem
Definition: pnpprivkm.hpp:75
EVT_SYSTEMWORKITEM * PFN_WDF_SYSTEMWORKITEM
Definition: pnpprivkm.hpp:25
struct _STACK_DEVICE_CAPABILITIES STACK_DEVICE_CAPABILITIES
struct _STACK_DEVICE_CAPABILITIES * PSTACK_DEVICE_CAPABILITIES
_In_ FxCREvent Event
Definition: pnpprivkm.hpp:97
_In_ FxIrp * OriginalIrp
Definition: pnpprivkm.hpp:93
_Out_ NTSTATUS Status
Definition: pnpprivkm.hpp:99
_In_ MxDeviceObject * RelatedDevice
Definition: pnpprivkm.hpp:89
DEVICE_CAPABILITIES DeviceCaps
Definition: device_common.h:30
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
enum _DEVICE_WAKE_DEPTH DEVICE_WAKE_DEPTH
DEVICE_CAPABILITIES
Definition: iotypes.h:965
_In_ SYSTEM_POWER_STATE _Out_ PDEVICE_WAKE_DEPTH DeepestWakeableDstate
Definition: iotypes.h:7520
_Inout_opt_ PVOID Parameter
Definition: rtltypes.h:323