|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "wdfloader.h"
Go to the source code of this file.
Variables | |
| BOOLEAN | gAlreadyInitialized = FALSE |
| BOOLEAN | gAlreadyUnloaded = FALSE |
| WDFLDR_DIAGS | WdfLdrDiags = { 0 } |
| WDF_LDR_GLOBALS | WdfLdrGlobals |
| DEFINE_GUID | ( | GUID_WDF_LOADER_INTERFACE_CLASS_BIND | , |
| 0xFA4838CB | , | ||
| 0x1D08 | , | ||
| 0x41E1 | , | ||
| 0x8B | , | ||
| 0xA8 | , | ||
| 0x71 | , | ||
| 0x9C | , | ||
| 0xF8 | , | ||
| 0x44 | , | ||
| 0xEA | , | ||
| 0x74 | |||
| ) |
| DEFINE_GUID | ( | GUID_WDF_LOADER_INTERFACE_DIAGNOSTIC | , |
| 0x55905BA4 | , | ||
| 0x1DD2 | , | ||
| 0x45D3 | , | ||
| 0xAB | , | ||
| 0xEA | , | ||
| 0xF7 | , | ||
| 0xA8 | , | ||
| 0x70 | , | ||
| 0x11 | , | ||
| 0xD6 | , | ||
| 0x9F | |||
| ) |
| NTSTATUS NTAPI DereferenceVersion | ( | _In_ PWDF_BIND_INFO | Info, |
| _In_opt_ PWDF_COMPONENT_GLOBALS | Globals | ||
| ) |
Dereference a WDF library version.
| Info | Binding information |
| Globals | Component globals to clean up |
Definition at line 630 of file wdfldr.c.
| NTSTATUS NTAPI DllInitialize | ( | _In_ PUNICODE_STRING | RegistryPath | ) |
Definition at line 105 of file wdfldr.c.
Referenced by DriverEntry().
Definition at line 182 of file wdfldr.c.
| NTSTATUS NTAPI DriverEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
| _In_ PUNICODE_STRING | RegistryPath | ||
| ) |
| NTSTATUS NTAPI ReferenceVersion | ( | _In_ PWDF_BIND_INFO | Info, |
| _Out_ PLIBRARY_MODULE * | Module | ||
| ) |
Reference a WDF library version.
| Info | Binding information containing version details |
| Module | Pointer to receive the library module |
Definition at line 576 of file wdfldr.c.
Referenced by WdfVersionBind().
| NTSTATUS NTAPI WdfLdrDiagnosticsValueByNameAsULONG | ( | _In_ PUNICODE_STRING | ValueName, |
| _Out_ PULONG | Value | ||
| ) |
Retrieves an ULONG value from KMDF diagnostics registry key.
Definition at line 54 of file wdfldr.c.
Referenced by DllInitialize(), DriverEntry(), and WdfLdrQueryInterface().
| NTSTATUS NTAPI WdfLdrQueryInterface | ( | _In_ PWDF_INTERFACE_HEADER | LoaderInterface | ) |
Definition at line 222 of file wdfldr.c.
| VOID NTAPI WdfLdrUnload | ( | _In_ PDRIVER_OBJECT | DriverObject | ) |
Definition at line 33 of file wdfldr.c.
Referenced by DriverEntry().
| NTSTATUS NTAPI WdfRegisterClassLibrary | ( | _In_ PWDF_CLASS_LIBRARY_INFO | ClassLibInfo, |
| _In_ PUNICODE_STRING | SourceString, | ||
| _In_ PUNICODE_STRING | ObjectName | ||
| ) |
Register class extension library (e.g., UCX)
| ClassLibInfo | Class library information |
| SourceString | Service name of the class library |
| ObjectName | Device object name |
Definition at line 696 of file wdfldr.c.
| NTSTATUS NTAPI WdfRegisterLibrary | ( | _In_ PWDF_LIBRARY_INFO | LibraryInfo, |
| _In_ PUNICODE_STRING | ServicePath, | ||
| _In_ PCUNICODE_STRING | LibraryDeviceName | ||
| ) |
Register wdf01000 library.
| LibraryInfo | Information about the library being registered |
| ServicePath | Service path in registry |
| LibraryDeviceName | KMDF device name |
Definition at line 311 of file wdfldr.c.
Referenced by DriverEntry(), and WdfLdrQueryInterface().
| NTSTATUS NTAPI WdfVersionBind | ( | _In_ PDRIVER_OBJECT | DriverObject, |
| _In_ PUNICODE_STRING | ServicePath, | ||
| _Inout_ PWDF_BIND_INFO | BindInfo, | ||
| _Out_ PWDF_COMPONENT_GLOBALS * | ComponentGlobals | ||
| ) |
Bind client driver with framework.
| DriverObject | Driver object |
| ServicePath | Registry service path |
| BindInfo | Client driver bind information |
| ComponentGlobals | Client driver global settings |
Definition at line 411 of file wdfldr.c.
Referenced by FxDriverEntry(), and WdfLdrQueryInterface().
| NTSTATUS NTAPI WdfVersionBindClass | ( | _In_ PWDF_BIND_INFO | BindInfo, |
| _Inout_ PWDF_COMPONENT_GLOBALS * | ClientGlobals, | ||
| _In_ PWDF_CLASS_BIND_INFO | ClassBindInfo | ||
| ) |
Definition at line 794 of file wdfldr.c.
Referenced by WdfLdrQueryInterface().
| NTSTATUS NTAPI WdfVersionUnbind | ( | _In_ PUNICODE_STRING | RegistryPath, |
| _In_ PWDF_BIND_INFO | BindInfo, | ||
| _In_ PWDF_COMPONENT_GLOBALS | ComponentGlobals | ||
| ) |
Unbind client driver from framework.
| RegistryPath | Registry path |
| BindInfo | Client driver bind information |
| ComponentGlobals | Client driver global settings |
Definition at line 519 of file wdfldr.c.
Referenced by FxDriverUnloadCommon(), WdfLdrQueryInterface(), and WdfVersionBind().
| VOID NTAPI WdfVersionUnbindClass | ( | _In_ PWDF_BIND_INFO | BindInfo, |
| _In_ PWDF_COMPONENT_GLOBALS | Globals, | ||
| _In_ PWDF_CLASS_BIND_INFO | ClassBindInfo | ||
| ) |
Definition at line 850 of file wdfldr.c.
Referenced by WdfLdrQueryInterface().
Definition at line 21 of file wdfldr.c.
Referenced by DllInitialize().
Definition at line 22 of file wdfldr.c.
Referenced by DllUnload().
| WDFLDR_DIAGS WdfLdrDiags = { 0 } |
Definition at line 27 of file wdfldr.c.
Referenced by DereferenceVersion(), DllInitialize(), and WdfRegisterClassLibrary().
| WDF_LDR_GLOBALS WdfLdrGlobals |
Definition at line 28 of file wdfldr.c.
Referenced by _Requires_lock_held_(), DllInitialize(), DllUnload(), FindClassByServiceNameLocked(), FxLdrAcquireLoadedModuleLock(), FxLdrReleaseLoadedModuleLock(), if(), and WdfRegisterClassLibrary().