ldr

ldr —

Synopsis




NTSTATUS    captive_LdrpLoadAndCallImage    (PMODULE_OBJECT *ModuleObjectp,
                                             struct captive_options_module *options_module,
                                             PDRIVER_OBJECT DriverEntry_DriverObject,
                                             PUNICODE_STRING DriverEntry_RegistryPath);
NTSTATUS    captive_LdrLoadModule           (struct captive_options_module *options_module,
                                             PMODULE_OBJECT *ModuleObjectp);
G_CONST_RETURN gchar* captive_ModuleList_function_disable_find
                                            (gconstpointer ExportAddress);
void*       captive_Module_GetExportAddress (const gchar *ModuleName_utf8,
                                             const gchar *FunctionName);
void        captive_PoQueueShutdownWorkItem_hooklist_invoke
                                            (void);

Description

Details

captive_LdrpLoadAndCallImage ()

NTSTATUS    captive_LdrpLoadAndCallImage    (PMODULE_OBJECT *ModuleObjectp,
                                             struct captive_options_module *options_module,
                                             PDRIVER_OBJECT DriverEntry_DriverObject,
                                             PUNICODE_STRING DriverEntry_RegistryPath);

Corresponds to reactos LdrpLoadAndCallImage() but it also provides arguments to pass to PDRIVER_INITIALIZE call of module driver initialization.

ModuleObjectp : Returns PMODULE_OBJECT successfuly loaded.
options_module : captive_options_module structure describing the module to load. Loading of already loaded module is forbidden despite original LdrpLoadAndCallImage().
DriverEntry_DriverObject : argument DriverObject of PDRIVER_INITIALIZE call.
DriverEntry_RegistryPath : argument RegistryPath of PDRIVER_INITIALIZE call.
Returns : STATUS_SUCCESS if the driver module was loaded and initialized successfuly during this call. Ignore returned ModuleObjectp if function failed.

captive_LdrLoadModule ()

NTSTATUS    captive_LdrLoadModule           (struct captive_options_module *options_module,
                                             PMODULE_OBJECT *ModuleObjectp);

Load and initialize module to reactos using host OS functions.

options_module : captive_options_module structure describing the module to load. Loading of already loaded module is forbidden.
ModuleObjectp : Returns initialized module object.
Returns : STATUS_SUCCESS if the module was loaded successfuly during the call.

captive_ModuleList_function_disable_find ()

G_CONST_RETURN gchar* captive_ModuleList_function_disable_find
                                            (gconstpointer ExportAddress);

ExportAddress :
Returns :

captive_Module_GetExportAddress ()

void*       captive_Module_GetExportAddress (const gchar *ModuleName_utf8,
                                             const gchar *FunctionName);

ModuleName_utf8 :
FunctionName :

captive_PoQueueShutdownWorkItem_hooklist_invoke ()

void        captive_PoQueueShutdownWorkItem_hooklist_invoke
                                            (void);