ReactOS 0.4.15-dev-6056-gb29b268
wdfglobals.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5Module Name:
6
7 WdfGlobals.h
8
9Abstract:
10
11 This module contains globals definitions for the frameworks.
12
13Environment:
14
15 kernel mode only
16
17Revision History:
18
19
20--*/
21
22//
23// NOTE: This header is generated by stubwork. Please make any
24// modifications to the corresponding template files
25// (.x or .y) and use stubwork to regenerate the header
26//
27
28#ifndef _WDFGLOBALS_H_
29#define _WDFGLOBALS_H_
30
31#ifndef WDF_EXTERN_C
32 #ifdef __cplusplus
33 #define WDF_EXTERN_C extern "C"
34 #define WDF_EXTERN_C_START extern "C" {
35 #define WDF_EXTERN_C_END }
36 #else
37 #define WDF_EXTERN_C
38 #define WDF_EXTERN_C_START
39 #define WDF_EXTERN_C_END
40 #endif
41#endif
42
44
45
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51#define WDF_DRIVER_GLOBALS_NAME_LEN (32)
52
53typedef struct _WDF_DRIVER_GLOBALS {
54
55 // backpointer to the handle for this driver
56 WDFDRIVER Driver;
57
58 // Flags indicated by the driver during create
60
61 // Tag generated by WDF for the driver. Tag used by allocations made on
62 // behalf of the driver by WDF.
64
66
67 // If TRUE, the stub code will capture DriverObject->DriverUnload and insert
68 // itself first in the unload chain. If FALSE, DriverUnload is left alone
69 // (but WDF will not be notified of unload and there will be no auto cleanup).
71
73
74
75
76
77
78#ifdef __cplusplus
79}
80#endif
81
83
84#endif // _WDFGLOBALS_H_
85
unsigned char BOOLEAN
BOOLEAN DisplaceDriverUnload
Definition: wdfglobals.h:70
CHAR DriverName[WDF_DRIVER_GLOBALS_NAME_LEN]
Definition: wdfglobals.h:65
WDFDRIVER Driver
Definition: wdfglobals.h:56
uint32_t ULONG
Definition: typedefs.h:59
#define WDF_EXTERN_C_END
Definition: wdfglobals.h:39
struct _WDF_DRIVER_GLOBALS WDF_DRIVER_GLOBALS
#define WDF_EXTERN_C_START
Definition: wdfglobals.h:38
#define WDF_DRIVER_GLOBALS_NAME_LEN
Definition: wdfglobals.h:51
struct _WDF_DRIVER_GLOBALS * PWDF_DRIVER_GLOBALS
char CHAR
Definition: xmlstorage.h:175