ReactOS  0.4.15-dev-3187-ge372f2b
wdfcollection.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 _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFCOLLECTIONADD) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals
 
typedef _Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
 
typedef _In_ WDFCOLLECTION _In_ WDFOBJECT Item
 
typedef _In_ WDFCOLLECTION _In_ ULONG Index
 

Functions

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

Variables

WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES CollectionAttributes
 
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
 

Macro Definition Documentation

◆ WDF_EXTERN_C

#define WDF_EXTERN_C

Definition at line 38 of file wdfcollection.h.

◆ WDF_EXTERN_C_END

#define WDF_EXTERN_C_END

Definition at line 40 of file wdfcollection.h.

◆ WDF_EXTERN_C_START

#define WDF_EXTERN_C_START

Definition at line 39 of file wdfcollection.h.

Typedef Documentation

◆ _IRQL_requires_max_

Definition at line 113 of file wdfcollection.h.

◆ Index

_In_ WDFCMRESLIST _In_ ULONG Index
Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
Definition: wdfcollection.h:64
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFCOLLECTION _In_ ULONG Index
Examples
/srv/doxygen/reactos/win32ss/gdi/gdi32/objects/utils.c.

Definition at line 179 of file wdfcollection.h.

◆ Item

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
Definition: wdfcollection.h:64
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_In_ WDFCOLLECTION _In_ WDFOBJECT Item

Definition at line 150 of file wdfcollection.h.

◆ Object

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
Definition: wdfcollection.h:64
PWDF_DRIVER_GLOBALS WdfDriverGlobals
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object

Definition at line 120 of file wdfcollection.h.

Function Documentation

◆ _IRQL_requires_max_()

WDF_EXTERN_C_START typedef _Must_inspect_result_ _IRQL_requires_max_ ( DISPATCH_LEVEL  )

Definition at line 97 of file wdfcollection.h.

104 {
105  return ((PFN_WDFCOLLECTIONGETCOUNT) WdfFunctions[WdfCollectionGetCountTableIndex])(WdfDriverGlobals, Collection);
106 }
#define WdfFunctions
Definition: wdf.h:66
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
Definition: wdfcollection.h:64
PWDF_DRIVER_GLOBALS WdfDriverGlobals

Variable Documentation

◆ Collection

Initial value:
{
#define WdfFunctions
Definition: wdf.h:66
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFCOLLECTION * Collection
Definition: wdfcollection.h:64
PWDF_DRIVER_GLOBALS WdfDriverGlobals
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES CollectionAttributes
Definition: wdfcollection.h:64

Definition at line 64 of file wdfcollection.h.

Referenced by _IRQL_requires_max_(), HidParser_AllocateCollection(), HidParser_BuildContext(), HidParser_GetCollectionUsagePage(), and HidParser_GetContextSize().

◆ CollectionAttributes

Definition at line 64 of file wdfcollection.h.