ReactOS 0.4.16-dev-287-g2d3f3a1
wdfcontrol.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WDF_EXTERN_C
 
#define WDF_EXTERN_C_START
 
#define WDF_EXTERN_C_END
 

Typedefs

typedef EVT_WDF_DEVICE_SHUTDOWN_NOTIFICATION * PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION
 
typedef enum _WDF_DEVICE_SHUTDOWN_FLAGS WDF_DEVICE_SHUTDOWN_FLAGS
 
typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI PWDFDEVICE_INIT(STDCALL *PFN_WDFCONTROLDEVICEINITALLOCATE) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ WDFDRIVER Driver
 
typedef _Must_inspect_result_ _In_ WDFDRIVER _In_ CONST UNICODE_STRINGSDDLString
 
typedef _In_ PWDFDEVICE_INIT DeviceInit
 
typedef _In_ PWDFDEVICE_INIT _In_ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION Notification
 
typedef _In_ PWDFDEVICE_INIT _In_ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION _In_ UCHAR Flags
 
typedef _In_ WDFDEVICE Device
 

Enumerations

enum  _WDF_DEVICE_SHUTDOWN_FLAGS { WdfDeviceShutdown = 0x01 , WdfDeviceLastChanceShutdown = 0x02 }
 

Functions

WDF_EXTERN_C_START typedef _Function_class_ (EVT_WDF_DEVICE_SHUTDOWN_NOTIFICATION) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) VOID STDCALL EVT_WDF_DEVICE_SHUTDOWN_NOTIFICATION(_In_ WDFDEVICE Device)
 
typedef _IRQL_requires_max_ (DISPATCH_LEVEL) WDFAPI VOID(STDCALL *PFN_WDFCONTROLFINISHINITIALIZING)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 

Macro Definition Documentation

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 39 of file wdfcontrol.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 41 of file wdfcontrol.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 40 of file wdfcontrol.h.

Typedef Documentation

◆ _IRQL_requires_max_

typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI PWDFDEVICE_INIT(STDCALL *PFN_WDFCONTROLDEVICEINITALLOCATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals

Definition at line 76 of file wdfcontrol.h.

◆ Device

typedef _In_ WDFDEVICE Device

Definition at line 146 of file wdfcontrol.h.

◆ DeviceInit

Initial value:
{
#define DDI_ENTRY()
Definition: fxglobalskm.h:56

Definition at line 113 of file wdfcontrol.h.

◆ Driver

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDRIVER Driver
Definition: wdfcontrol.h:83
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES DriverAttributes
Definition: wdfdriver.h:217
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING RegistryPath
Definition: wdfdriver.h:215
_Must_inspect_result_ _In_ PDRIVER_OBJECT _In_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PWDF_DRIVER_CONFIG DriverConfig
Definition: wdfdriver.h:219
_Must_inspect_result_ _In_ PDRIVER_OBJECT DriverObject
Definition: wdfdriver.h:213
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfDriverCreateTableIndex
Definition: wdffuncenum.h:141

Definition at line 83 of file wdfcontrol.h.

◆ Flags

Initial value:
{
_In_ PWDFDEVICE_INIT _In_ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION _In_ UCHAR Flags
Definition: wdfcontrol.h:118
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdfcontrol.h:113
_In_ PWDFDEVICE_INIT _In_ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION Notification
Definition: wdfcontrol.h:115
@ WdfControlDeviceInitSetShutdownNotificationTableIndex
Definition: wdffuncenum.h:51

Definition at line 117 of file wdfcontrol.h.

◆ Notification

◆ PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION

typedef EVT_WDF_DEVICE_SHUTDOWN_NOTIFICATION* PFN_WDF_DEVICE_SHUTDOWN_NOTIFICATION

Definition at line 62 of file wdfcontrol.h.

◆ SDDLString

Initial value:
{
_Must_inspect_result_ _In_ WDFDRIVER _In_ CONST UNICODE_STRING * SDDLString
Definition: wdfcontrol.h:86
@ WdfControlDeviceInitAllocateTableIndex
Definition: wdffuncenum.h:50

Definition at line 85 of file wdfcontrol.h.

◆ WDF_DEVICE_SHUTDOWN_FLAGS

Enumeration Type Documentation

◆ _WDF_DEVICE_SHUTDOWN_FLAGS

Enumerator
WdfDeviceShutdown 
WdfDeviceLastChanceShutdown 

Definition at line 64 of file wdfcontrol.h.

64 {
65 WdfDeviceShutdown = 0x01,
enum _WDF_DEVICE_SHUTDOWN_FLAGS WDF_DEVICE_SHUTDOWN_FLAGS
@ WdfDeviceLastChanceShutdown
Definition: wdfcontrol.h:66
@ WdfDeviceShutdown
Definition: wdfcontrol.h:65

Function Documentation

◆ _Function_class_()

WDF_EXTERN_C_START typedef _Function_class_ ( EVT_WDF_DEVICE_SHUTDOWN_NOTIFICATION  )

◆ _IRQL_requires_max_()

typedef _IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 149 of file wdfcontrol.h.

156{
157 ((PFN_WDFCONTROLFINISHINITIALIZING) WdfFunctions[WdfControlFinishInitializingTableIndex])(WdfDriverGlobals, Device);
158}
_In_ WDFDEVICE Device
Definition: wdfcontrol.h:147
@ WdfControlFinishInitializingTableIndex
Definition: wdffuncenum.h:52