Unit msedynload

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record funcinfoty  
Record dynlibinfoty  
Class edynload  

Functions and Procedures

procedure initializelibinfo(var info: dynlibinfoty);
procedure finalizelibinfo(var info: dynlibinfoty);
function initializedynlib(var info: dynlibinfoty; const libnames: array of filenamety; const libnamesdefault: array of filenamety; const funcs: array of funcinfoty; const funcsopt: array of funcinfoty; const errormessage: msestring = ''; const callback: dynloadcallbackty = nil; const noexception: boolean = false; const callbackdata: pointer = nil): boolean;
procedure releasedynlib(var info: dynlibinfoty; const callback: dynloadcallbackty = nil; const nodlunload: boolean = false; const callbackdata: pointer = nil);
procedure regdynlibinit(var info: dynlibinfoty; const initproc: dynlibprocty);
procedure regdynlibdeinit(var info: dynlibinfoty; const initproc: dynlibprocty);
procedure dynloadlock;
procedure dynloadunlock;
function loadlib(const libnames: array of filenamety; out libname: filenamety; const errormessage: msestring = ''; const noexception: boolean = false): tlibhandle;
function getprocaddresses(const lib: tlibhandle; const procedures: array of funcinfoty; const noexception: boolean = false; const libname: msestring = ''): boolean; overload;
function getprocaddresses(const lib: tlibhandle; const anames: array of string; const adest: array of ppointer; const noexception: boolean = false; const libname: msestring = ''): boolean; overload;
function getprocaddresses(const libinfo: dynlibinfoty; const procedures: array of funcinfoty; const noexception: boolean = false): boolean; overload;
function getprocaddresses(const libnames: array of msestring; const procedures: array of funcinfoty; const noexception: boolean = false): tlibhandle; overload;
function getprocaddresses(const libinfo: dynlibinfoty; const anames: array of string; const adest: array of ppointer; const noexception: boolean = false): boolean; overload;
function getprocaddresses(const libnames: array of filenamety; const anames: array of string; const adest: array of ppointer; const noexception: boolean = false): tlibhandle; overload;
function checkprocaddresses(const libnames: array of filenamety; const anames: array of string; const adest: array of ppointer): boolean;
function checkprocaddresses(const libnames: array of filenamety; const procedures: array of funcinfoty): boolean;
function quotelibnames(const libnames: array of filenamety): msestring;

Types

dynlibprocty = procedure(const dynlib: dynlibinfoty);
dynloadcallbackty = procedure(const data: pointer);

Description

Functions and Procedures

procedure initializelibinfo(var info: dynlibinfoty);
 
procedure finalizelibinfo(var info: dynlibinfoty);
 
function initializedynlib(var info: dynlibinfoty; const libnames: array of filenamety; const libnamesdefault: array of filenamety; const funcs: array of funcinfoty; const funcsopt: array of funcinfoty; const errormessage: msestring = ''; const callback: dynloadcallbackty = nil; const noexception: boolean = false; const callbackdata: pointer = nil): boolean;
 
procedure releasedynlib(var info: dynlibinfoty; const callback: dynloadcallbackty = nil; const nodlunload: boolean = false; const callbackdata: pointer = nil);
 
procedure regdynlibinit(var info: dynlibinfoty; const initproc: dynlibprocty);
 
procedure regdynlibdeinit(var info: dynlibinfoty; const initproc: dynlibprocty);
 
procedure dynloadlock;
 
procedure dynloadunlock;
 
function loadlib(const libnames: array of filenamety; out libname: filenamety; const errormessage: msestring = ''; const noexception: boolean = false): tlibhandle;
 
function getprocaddresses(const lib: tlibhandle; const procedures: array of funcinfoty; const noexception: boolean = false; const libname: msestring = ''): boolean; overload;
 
function getprocaddresses(const lib: tlibhandle; const anames: array of string; const adest: array of ppointer; const noexception: boolean = false; const libname: msestring = ''): boolean; overload;
 
function getprocaddresses(const libinfo: dynlibinfoty; const procedures: array of funcinfoty; const noexception: boolean = false): boolean; overload;
 
function getprocaddresses(const libnames: array of msestring; const procedures: array of funcinfoty; const noexception: boolean = false): tlibhandle; overload;
 
function getprocaddresses(const libinfo: dynlibinfoty; const anames: array of string; const adest: array of ppointer; const noexception: boolean = false): boolean; overload;
 
function getprocaddresses(const libnames: array of filenamety; const anames: array of string; const adest: array of ppointer; const noexception: boolean = false): tlibhandle; overload;
 
function checkprocaddresses(const libnames: array of filenamety; const anames: array of string; const adest: array of ppointer): boolean;
 
function checkprocaddresses(const libnames: array of filenamety; const procedures: array of funcinfoty): boolean;
 
function quotelibnames(const libnames: array of filenamety): msestring;
 

Types

dynlibprocty = procedure(const dynlib: dynlibinfoty);
 
dynloadcallbackty = procedure(const data: pointer);
 

Generated by PasDoc 0.16.0.