ReactOS  0.4.15-dev-1647-g91fceab
wdfresource.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
 
#define WDF_INSERT_AT_END   ((ULONG) -1)
 

Typedefs

typedef _In_ WDFIORESREQLIST RequirementsList
 
typedef _In_ WDFIORESREQLIST _In_ ULONG SlotNumber
 
typedef _In_ WDFIORESREQLIST _In_ _Strict_type_match_ INTERFACE_TYPE InterfaceType
 
typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFIORESOURCEREQUIREMENTSLISTAPPENDIORESLIST) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ WDFIORESREQLIST _In_ WDFIORESLIST IoResList
 
typedef _Must_inspect_result_ _In_ WDFIORESREQLIST _In_ WDFIORESLIST _In_ ULONG Index
 
typedef _Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
 
typedef _Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
 
typedef _Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
 
typedef _Must_inspect_result_ _In_ WDFCMRESLIST List
 

Functions

typedef _IRQL_requires_max_ (DISPATCH_LEVEL) WDFAPI VOID(STDCALL *PFN_WDFIORESOURCEREQUIREMENTSLISTSETSLOTNUMBER)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 

Macro Definition Documentation

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 38 of file wdfresource.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 40 of file wdfresource.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 39 of file wdfresource.h.

◆ WDF_INSERT_AT_END

#define WDF_INSERT_AT_END   ((ULONG) -1)

Definition at line 50 of file wdfresource.h.

Typedef Documentation

◆ _IRQL_requires_max_

typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFCMRESOURCELISTINSERTDESCRIPTOR)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals

Definition at line 119 of file wdfresource.h.

◆ Attributes

◆ Descriptor

Initial value:
{
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
Definition: wdfresource.h:339
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
Definition: wdfresource.h:304
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Definition at line 339 of file wdfresource.h.

◆ Index

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_ WDFIORESLIST IoResList
Definition: wdfresource.h:126
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_ WDFIORESLIST _In_ ULONG Index
Definition: wdfresource.h:157

Definition at line 157 of file wdfresource.h.

◆ InterfaceType

Initial value:
{
_In_ WDFIORESREQLIST _In_ _Strict_type_match_ INTERFACE_TYPE InterfaceType
Definition: wdfresource.h:94
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65

Definition at line 94 of file wdfresource.h.

◆ IoResList

__in WDFIORESREQLIST __in WDFIORESLIST IoResList
Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_ WDFIORESLIST IoResList
Definition: wdfresource.h:126
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65

Definition at line 126 of file wdfresource.h.

◆ List

_In_ WDFCMRESLIST List
Initial value:
{
#define PAGED_CODE_LOCKED()
Definition: kefuncs.h:1429

Definition at line 550 of file wdfresource.h.

◆ RequirementsList

Initial value:
{
#define PAGED_CODE_LOCKED()
Definition: kefuncs.h:1429

Definition at line 65 of file wdfresource.h.

◆ ResourceList

__in WDFIORESLIST ResourceList
Initial value:
{
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
Definition: wdfresource.h:304
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
Definition: wdfresource.h:304
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65

Definition at line 304 of file wdfresource.h.

◆ SlotNumber

Initial value:
{
_In_ WDFIORESREQLIST _In_ ULONG SlotNumber
Definition: wdfresource.h:65
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65

Definition at line 65 of file wdfresource.h.

Function Documentation

◆ _IRQL_requires_max_()

typedef _IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 194 of file wdfresource.h.

201 {
202  return ((PFN_WDFIORESOURCEREQUIREMENTSLISTGETCOUNT) WdfFunctions[WdfIoResourceRequirementsListGetCountTableIndex])(WdfDriverGlobals, RequirementsList);
203 }
#define WdfFunctions
Definition: wdf.h:66
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFIORESREQLIST RequirementsList
Definition: wdfresource.h:65