ReactOS 0.4.16-dev-92-g0c2cdca
device_common.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft. All rights reserved.
4
5Module Name:
6
7 device_common.h
8
9Abstract:
10
11 This file contains common types for device objects that are used in
12 all three components (Wudfx, Wudfhost, WudfRd).
13
14Author:
15
16
17
18Revision History:
19
20
21
22--*/
23
24#pragma once
25
27 //
28 // The capabilities as garnered from IRP_MN_QUERY_CAPABILITIES.
29 //
31
32 //
33 // The lowest-power D-state that a device can be in and still generate
34 // a wake signal, indexed by system state. (PowerSystemUnspecified is
35 // an unused slot in this array.)
36 //
39
40#define ERROR_STRING_HW_ACCESS_NOT_ALLOWED \
41 "Hardware access not allowed. Set the INF directive " \
42 "UmdfDirectHardwareAccess to AllowDirectHardwareAccess " \
43 "in driver's INF file to enable direct hardware access"
44
45#define WUDF_POWER_POLICY_SETTINGS L"WudfPowerPolicySettings"
46
struct _STACK_DEVICE_CAPABILITIES STACK_DEVICE_CAPABILITIES
struct _STACK_DEVICE_CAPABILITIES * PSTACK_DEVICE_CAPABILITIES
@ PowerSystemHibernate
Definition: ntpoapi.h:40
DEVICE_CAPABILITIES DeviceCaps
Definition: device_common.h:30
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