ReactOS  0.4.15-dev-3182-g7b62228
fxldr.h File Reference
#include <initguid.h>
#include <wdfldr.h>
Include dependency graph for fxldr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _WDF_VERSION
 
struct  _WDF_BIND_INFO
 
struct  _WDF_LIBRARY_INFO
 
struct  _WDF_LOADER_INTERFACE
 
struct  _CLIENT_INFO
 

Macros

#define WDF_COMPONENT_NAME(a)   L#a
 
#define WDF_LIBRARY_COMMISSION   LibraryCommission
 
#define WDF_LIBRARY_DECOMMISSION   LibraryDecommission
 
#define WDF_LIBRARY_REGISTER_CLIENT   LibraryRegisterClient
 
#define WDF_LIBRARY_UNREGISTER_CLIENT   LibraryUnregisterClient
 
#define WDF_REGISTRY_DBGPRINT_ON   L"DbgPrintOn"
 
#define WDF_CENSUS_EVT_WRITE_LINK_CLIENT_TO_CX(TraceHandle, CxImageName, ClientImageName)
 

Typedefs

typedef struct _LIBRARY_MODULE * PLIBRARY_MODULE
 
typedef struct _WDF_LIBRARY_INFOPWDF_LIBRARY_INFO
 
typedef VOID(* WDFFUNC) (VOID)
 
typedef _Must_inspect_result_ NTSTATUS(* PFNLIBRARYCOMMISSION) (VOID)
 
typedef _Must_inspect_result_ NTSTATUS(* PFNLIBRARYDECOMMISSION) (VOID)
 
typedef _Must_inspect_result_ NTSTATUS(* PFNLIBRARYREGISTERCLIENT) (__in PWDF_BIND_INFO Info, __deref_out PWDF_COMPONENT_GLOBALS *ComponentGlobals, __deref_inout PVOID *Context)
 
typedef _Must_inspect_result_ NTSTATUS(* PFNLIBRARYUNREGISTERCLIENT) (__in PWDF_BIND_INFO Info, __in PWDF_COMPONENT_GLOBALS DriverGlobals)
 
typedef _Must_inspect_result_ NTSTATUS(* PWDF_REGISTER_LIBRARY) (__in PWDF_LIBRARY_INFO LibraryInfo, __in PUNICODE_STRING ServicePath, __in PCUNICODE_STRING LibraryDeviceName)
 
typedef _Must_inspect_result_ NTSTATUS(* PWDF_VERSION_BIND) (__in PDRIVER_OBJECT DriverObject, __in PUNICODE_STRING RegistryPath, __in PWDF_BIND_INFO Info, __out PWDF_COMPONENT_GLOBALS *Globals)
 
typedef NTSTATUS(* PWDF_VERSION_UNBIND) (__in PUNICODE_STRING RegistryPath, __in PWDF_BIND_INFO Info, __in PWDF_COMPONENT_GLOBALS Globals)
 
typedef struct _WDF_VERSION WDF_VERSION
 
typedef struct _WDF_BIND_INFO WDF_BIND_INFO
 
typedef struct _WDF_BIND_INFOPWDF_BIND_INFO
 
typedef struct _WDF_LIBRARY_INFO WDF_LIBRARY_INFO
 
typedef struct _WDF_LOADER_INTERFACE WDF_LOADER_INTERFACE
 
typedef struct _WDF_LOADER_INTERFACEPWDF_LOADER_INTERFACE
 
typedef struct _CLIENT_INFO CLIENT_INFO
 
typedef struct _CLIENT_INFOPCLIENT_INFO
 

Functions

struct DECLSPEC_ALIGN (MEMORY_ALLOCATION_ALIGNMENT) _MARKER_TYPE
 
 DEFINE_GUID (GUID_WDF_LOADER_INTERFACE_STANDARD, 0x49215dff, 0xf5ac, 0x4901, 0x85, 0x88, 0xab, 0x3d, 0x54, 0xf, 0x60, 0x21)
 
VOID __inline WDF_LOADER_INTERFACE_INIT (PWDF_LOADER_INTERFACE Interface)
 
_Must_inspect_result_ NTSTATUS WdfVersionBind (__in PDRIVER_OBJECT DriverObject, __in PUNICODE_STRING RegistryPath, __inout PWDF_BIND_INFO BindInfo, __out PWDF_COMPONENT_GLOBALS *ComponentGlobals)
 
NTSTATUS WdfVersionUnbind (__in PUNICODE_STRING RegistryPath, __in PWDF_BIND_INFO BindInfo, __in PWDF_COMPONENT_GLOBALS ComponentGlobals)
 
_Must_inspect_result_ NTSTATUS WdfRegisterLibrary (__in PWDF_LIBRARY_INFO LibraryInfo, __in PUNICODE_STRING ServicePath, __in PCUNICODE_STRING LibraryDeviceName)
 

Variables

 MARKER_TYPE
 

Macro Definition Documentation

◆ WDF_CENSUS_EVT_WRITE_LINK_CLIENT_TO_CX

#define WDF_CENSUS_EVT_WRITE_LINK_CLIENT_TO_CX (   TraceHandle,
  CxImageName,
  ClientImageName 
)
Value:
TraceLoggingWrite(TraceHandle, \
"WdfCensusEvtLinkClientToCx", \
TraceLoggingWideString(CxImageName, "CxImageName"), \
TraceLoggingWideString(ClientImageName, "ClientImageName" ) \
);
#define WDF_TELEMETRY_EVT_KEYWORDS

Definition at line 241 of file fxldr.h.

◆ WDF_COMPONENT_NAME

#define WDF_COMPONENT_NAME (   a)    L#a

Definition at line 26 of file fxldr.h.

◆ WDF_LIBRARY_COMMISSION

#define WDF_LIBRARY_COMMISSION   LibraryCommission

Definition at line 110 of file fxldr.h.

◆ WDF_LIBRARY_DECOMMISSION

#define WDF_LIBRARY_DECOMMISSION   LibraryDecommission

Definition at line 111 of file fxldr.h.

◆ WDF_LIBRARY_REGISTER_CLIENT

#define WDF_LIBRARY_REGISTER_CLIENT   LibraryRegisterClient

Definition at line 112 of file fxldr.h.

◆ WDF_LIBRARY_UNREGISTER_CLIENT

#define WDF_LIBRARY_UNREGISTER_CLIENT   LibraryUnregisterClient

Definition at line 113 of file fxldr.h.

◆ WDF_REGISTRY_DBGPRINT_ON

#define WDF_REGISTRY_DBGPRINT_ON   L"DbgPrintOn"

Definition at line 115 of file fxldr.h.

Typedef Documentation

◆ CLIENT_INFO

◆ PCLIENT_INFO

◆ PFNLIBRARYCOMMISSION

typedef _Must_inspect_result_ NTSTATUS(* PFNLIBRARYCOMMISSION) (VOID)

Definition at line 55 of file fxldr.h.

◆ PFNLIBRARYDECOMMISSION

typedef _Must_inspect_result_ NTSTATUS(* PFNLIBRARYDECOMMISSION) (VOID)

Definition at line 62 of file fxldr.h.

◆ PFNLIBRARYREGISTERCLIENT

Definition at line 69 of file fxldr.h.

◆ PFNLIBRARYUNREGISTERCLIENT

Definition at line 78 of file fxldr.h.

◆ PLIBRARY_MODULE

typedef struct _LIBRARY_MODULE* PLIBRARY_MODULE

Definition at line 43 of file fxldr.h.

◆ PWDF_BIND_INFO

◆ PWDF_LIBRARY_INFO

Definition at line 44 of file fxldr.h.

◆ PWDF_LOADER_INTERFACE

◆ PWDF_REGISTER_LIBRARY

typedef _Must_inspect_result_ NTSTATUS(* PWDF_REGISTER_LIBRARY) (__in PWDF_LIBRARY_INFO LibraryInfo, __in PUNICODE_STRING ServicePath, __in PCUNICODE_STRING LibraryDeviceName)

Definition at line 86 of file fxldr.h.

◆ PWDF_VERSION_BIND

◆ PWDF_VERSION_UNBIND

Definition at line 104 of file fxldr.h.

◆ WDF_BIND_INFO

◆ WDF_LIBRARY_INFO

◆ WDF_LOADER_INTERFACE

◆ WDF_VERSION

◆ WDFFUNC

typedef VOID(* WDFFUNC) (VOID)

Definition at line 48 of file fxldr.h.

Function Documentation

◆ DECLSPEC_ALIGN()

struct DECLSPEC_ALIGN ( MEMORY_ALLOCATION_ALIGNMENT  )

Definition at line 39 of file fxldr.h.

39  {
41 } MARKER_TYPE;
char * Pad(char *Str, char PadChar, ULONG Length)
Definition: cabman.cxx:29
MARKER_TYPE
Definition: fxldr.h:41
unsigned char UCHAR
Definition: xmlstorage.h:181
#define MEMORY_ALLOCATION_ALIGNMENT
Definition: ntbasedef.h:90

◆ DEFINE_GUID()

DEFINE_GUID ( GUID_WDF_LOADER_INTERFACE_STANDARD  ,
0x49215dff  ,
0xf5ac  ,
0x4901  ,
0x85  ,
0x88  ,
0xab  ,
0x3d  ,
0x54  ,
0xf  ,
0x60  ,
0x21   
)

◆ WDF_LOADER_INTERFACE_INIT()

VOID __inline WDF_LOADER_INTERFACE_INIT ( PWDF_LOADER_INTERFACE  Interface)

Definition at line 162 of file fxldr.h.

165 {
167  Interface->Header.InterfaceSize = sizeof(WDF_LOADER_INTERFACE);
168  Interface->Header.InterfaceType = &GUID_WDF_LOADER_INTERFACE_STANDARD;
169 }
IN PVOID IN PVOID IN USHORT IN USHORT IN PINTERFACE Interface
Definition: pci.h:361
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
struct _WDF_LOADER_INTERFACE WDF_LOADER_INTERFACE

◆ WdfRegisterLibrary()

_Must_inspect_result_ NTSTATUS WdfRegisterLibrary ( __in PWDF_LIBRARY_INFO  LibraryInfo,
__in PUNICODE_STRING  ServicePath,
__in PCUNICODE_STRING  LibraryDeviceName 
)

Referenced by DriverEntry().

◆ WdfVersionBind()

_Must_inspect_result_ NTSTATUS WdfVersionBind ( __in PDRIVER_OBJECT  DriverObject,
__in PUNICODE_STRING  RegistryPath,
__inout PWDF_BIND_INFO  BindInfo,
__out PWDF_COMPONENT_GLOBALS ComponentGlobals 
)

◆ WdfVersionUnbind()

NTSTATUS WdfVersionUnbind ( __in PUNICODE_STRING  RegistryPath,
__in PWDF_BIND_INFO  BindInfo,
__in PWDF_COMPONENT_GLOBALS  ComponentGlobals 
)

Variable Documentation

◆ MARKER_TYPE

MARKER_TYPE

Definition at line 41 of file fxldr.h.