ReactOS 0.4.15-dev-5666-gc548b97
wdffdo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WDF_FDO_EVENT_CALLBACKS
 

Macros

#define WDF_EXTERN_C
 
#define WDF_EXTERN_C_START
 
#define WDF_EXTERN_C_END
 

Typedefs

typedef EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS * PFN_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS
 
typedef _In_ WDFCMRESLIST ResourcesRaw
 
typedef _In_ WDFCMRESLIST _In_ WDFCMRESLIST ResourcesTranslated
 
typedef EVT_WDF_DEVICE_REMOVE_ADDED_RESOURCES * PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES
 
typedef struct _WDF_FDO_EVENT_CALLBACKS WDF_FDO_EVENT_CALLBACKS
 
typedef struct _WDF_FDO_EVENT_CALLBACKSPWDF_FDO_EVENT_CALLBACKS
 
typedef _In_ PWDFDEVICE_INIT DeviceInit
 
typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFFDOINITOPENREGISTRYKEY) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG DeviceInstanceKeyType
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG _In_ ACCESS_MASK DesiredAccess
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_writes_bytes_all_opt_(BufferLength) PVOID PropertyBuffer
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
 
typedef _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
 
typedef _In_ PWDFDEVICE_INIT _In_ PWDF_FDO_EVENT_CALLBACKS FdoEventCallbacks
 
typedef _Inout_ PWDFDEVICE_INIT _In_ PWDF_CHILD_LIST_CONFIG Config
 
typedef _Inout_ PWDFDEVICE_INIT _In_ PWDF_CHILD_LIST_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES DefaultChildListAttributes
 
typedef _Must_inspect_result_ _In_ WDFDEVICE Fdo
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT Size
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT _In_opt_ PVOID InterfaceSpecificData
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDEVICE PreviousChild
 
typedef _Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDEVICE _In_ ULONG Flags
 

Functions

WDF_EXTERN_C_START typedef _Function_class_ (EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS(_In_ WDFDEVICE Device
 
typedef _Function_class_ (EVT_WDF_DEVICE_REMOVE_ADDED_RESOURCES) _IRQL_requires_same_ _IRQL_requires_max_(PASSIVE_LEVEL) NTSTATUS STDCALL EVT_WDF_DEVICE_REMOVE_ADDED_RESOURCES(_In_ WDFDEVICE Device
 
FORCEINLINE VOID WDF_FDO_EVENT_CALLBACKS_INIT (_Out_ PWDF_FDO_EVENT_CALLBACKS Callbacks)
 
typedef _IRQL_requires_max_ (DISPATCH_LEVEL) WDFAPI PDEVICE_OBJECT(STDCALL *PFN_WDFFDOINITWDMGETPHYSICALDEVICE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 

Variables

WDF_EXTERN_C_START typedef _In_ WDFIORESREQLIST IoResourceRequirementsList
 

Macro Definition Documentation

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 39 of file wdffdo.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 41 of file wdffdo.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 40 of file wdffdo.h.

Typedef Documentation

◆ _IRQL_requires_max_

typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI WDFDEVICE(STDCALL *PFN_WDFFDORETRIEVENEXTSTATICCHILD)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals

Definition at line 140 of file wdffdo.h.

◆ _Out_writes_bytes_all_opt_

Definition at line 195 of file wdffdo.h.

◆ BufferLength

◆ Child

Initial value:
{
return ((PFN_WDFFDOADDSTATICCHILD) WdfFunctions[WdfFdoAddStaticChildTableIndex])(WdfDriverGlobals, Fdo, Child)
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE Fdo
Definition: wdffdo.h:461
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child
Definition: wdffdo.h:536
PWDF_DRIVER_GLOBALS WdfDriverGlobals
@ WdfFdoAddStaticChildTableIndex
Definition: wdffuncenum.h:158

Definition at line 535 of file wdffdo.h.

◆ Config

Definition at line 429 of file wdffdo.h.

◆ DefaultChildListAttributes

Initial value:
{
_Inout_ PWDFDEVICE_INIT _In_ PWDF_CHILD_LIST_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES DefaultChildListAttributes
Definition: wdffdo.h:432
_Inout_ PWDFDEVICE_INIT _In_ PWDF_CHILD_LIST_CONFIG Config
Definition: wdffdo.h:429
_In_ PWDFDEVICE_INIT DeviceInit
Definition: wdffdo.h:122
@ WdfFdoInitSetDefaultChildListConfigTableIndex
Definition: wdffuncenum.h:155

Definition at line 431 of file wdffdo.h.

◆ DesiredAccess

◆ DeviceInit

Definition at line 121 of file wdffdo.h.

◆ DeviceInstanceKeyType

◆ DeviceProperty

◆ Fdo

_In_ WDFDEVICE Fdo
Initial value:

Definition at line 461 of file wdffdo.h.

◆ FdoEventCallbacks

Initial value:
{
_In_ PWDFDEVICE_INIT _In_ PWDF_FDO_EVENT_CALLBACKS FdoEventCallbacks
Definition: wdffdo.h:376
@ WdfFdoInitSetEventCallbacksTableIndex
Definition: wdffuncenum.h:153

Definition at line 375 of file wdffdo.h.

◆ Flags

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDEVICE _In_ ULONG Flags
Definition: wdffdo.h:594
_Must_inspect_result_ _In_ WDFDEVICE _In_opt_ WDFDEVICE PreviousChild
Definition: wdffdo.h:591
@ WdfFdoRetrieveNextStaticChildTableIndex
Definition: wdffuncenum.h:160

Definition at line 593 of file wdffdo.h.

◆ Interface

_In_ WDFUSBINTERFACE Interface
Initial value:
{
#define PAGED_CODE_LOCKED()
Definition: kefuncs.h:1431

Definition at line 465 of file wdffdo.h.

◆ InterfaceSpecificData

Initial value:
{
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition: wdffdo.h:465
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID InterfaceType
Definition: wdffdo.h:463
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version
Definition: wdffdo.h:469
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT _In_opt_ PVOID InterfaceSpecificData
Definition: wdffdo.h:472
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT Size
Definition: wdffdo.h:467
@ WdfFdoQueryForInterfaceTableIndex
Definition: wdffuncenum.h:156

Definition at line 471 of file wdffdo.h.

◆ InterfaceType

Initial value:
{
@ WdfIoResourceRequirementsListSetInterfaceTypeTableIndex
Definition: wdffuncenum.h:312
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65

Definition at line 463 of file wdffdo.h.

◆ Key

Initial value:
{
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG _In_ ACCESS_MASK DesiredAccess
Definition: wdffdo.h:151
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES KeyAttributes
Definition: wdffdo.h:153
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG _In_ ACCESS_MASK _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFKEY * Key
Definition: wdffdo.h:156
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ ULONG DeviceInstanceKeyType
Definition: wdffdo.h:149
@ WdfFdoInitOpenRegistryKeyTableIndex
Definition: wdffuncenum.h:150

Definition at line 155 of file wdffdo.h.

◆ KeyAttributes

◆ PFN_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS

typedef EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS* PFN_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS

Definition at line 66 of file wdffdo.h.

◆ PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES

typedef EVT_WDF_DEVICE_REMOVE_ADDED_RESOURCES* PFN_WDF_DEVICE_REMOVE_ADDED_RESOURCES

Definition at line 83 of file wdffdo.h.

◆ PoolType

◆ PreviousChild

Definition at line 591 of file wdffdo.h.

◆ PropertyBuffer

◆ PropertyMemory

Initial value:
{
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE PoolType
Definition: wdffdo.h:238
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES PropertyMemoryAttributes
Definition: wdffdo.h:240
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY DeviceProperty
Definition: wdffdo.h:192
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ _Strict_type_match_ POOL_TYPE _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFMEMORY * PropertyMemory
Definition: wdffdo.h:243
@ WdfFdoInitAllocAndQueryPropertyTableIndex
Definition: wdffuncenum.h:152

Definition at line 242 of file wdffdo.h.

◆ PropertyMemoryAttributes

◆ PWDF_FDO_EVENT_CALLBACKS

◆ ResourcesRaw

typedef _In_ WDFCMRESLIST ResourcesRaw

Definition at line 78 of file wdffdo.h.

◆ ResourcesTranslated

typedef _In_ WDFCMRESLIST _In_ WDFCMRESLIST ResourcesTranslated

Definition at line 80 of file wdffdo.h.

◆ ResultLength

Initial value:
{
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdffdo.h:194
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID PropertyBuffer
Definition: wdffdo.h:284
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG _Out_ PULONG ResultLength
Definition: wdffdo.h:199
@ WdfFdoInitQueryPropertyTableIndex
Definition: wdffuncenum.h:151

Definition at line 198 of file wdffdo.h.

◆ Size

◆ Type

Initial value:
{
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG _Out_ PDEVPROPTYPE Type
Definition: wdffdo.h:289
@ WdfFdoInitQueryPropertyExTableIndex
Definition: wdffuncenum.h:461

Definition at line 288 of file wdffdo.h.

◆ Version

◆ WDF_FDO_EVENT_CALLBACKS

Function Documentation

◆ _Function_class_() [1/2]

WDF_EXTERN_C_START typedef _Function_class_ ( EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS  )

◆ _Function_class_() [2/2]

typedef _Function_class_ ( EVT_WDF_DEVICE_REMOVE_ADDED_RESOURCES  )

◆ _IRQL_requires_max_()

typedef _IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 124 of file wdffdo.h.

131{
132 return ((PFN_WDFFDOINITWDMGETPHYSICALDEVICE) WdfFunctions[WdfFdoInitWdmGetPhysicalDeviceTableIndex])(WdfDriverGlobals, DeviceInit);
133}
@ WdfFdoInitWdmGetPhysicalDeviceTableIndex
Definition: wdffuncenum.h:149

◆ WDF_FDO_EVENT_CALLBACKS_INIT()

FORCEINLINE VOID WDF_FDO_EVENT_CALLBACKS_INIT ( _Out_ PWDF_FDO_EVENT_CALLBACKS  Callbacks)

Definition at line 101 of file wdffdo.h.

104{
106 Callbacks->Size = sizeof(WDF_FDO_EVENT_CALLBACKS);
107}
const struct winhelp_callbacks Callbacks
Definition: callback.c:161
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
struct _WDF_FDO_EVENT_CALLBACKS WDF_FDO_EVENT_CALLBACKS

Variable Documentation

◆ IoResourceRequirementsList

Definition at line 63 of file wdffdo.h.