System.dliNotification

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From System.pas

dliNotification = {
	dliNoteStartProcessing,
	dliNotePreLoadLibrary,
	dliNotePreGetProcAddress,
	dliFailLoadLibrary,
	dliFailGetProcAddress,
	dliNoteEndProcessing
};


Unit: System

Type: enum

Description

Lists the notification messages for which the delay load hook procedure is called.


A variable of type dliNotification stores the message for which the delay load hook procedure is called.

The following table lists the cases in which the registered hook is called by the delay load helper.



Value of dliNotify parameter Description

dliNoteStartProcessing

Used to bypass or note helper only. Called before the library contaning the delay loaded external procedure is processed.

dliNotePreLoadLibrary

Called before the library containing the delay loaded external procedure is loaded. Can override with the new HMODULE return value.

dliNotePreGetProcAddress

Called before the address of the delay loaded procedure is found. Can override with new HMODULE return value.

dliNoteEndProcessing

Called after all processing is done. Cannot be bypassed except for raise or RaiseException.

dliFailLoadLibrary

Failed to load library. Fix it by returning a valid HMODULE.

dliFailGetProcAddress

Failed to get the address of the procedure. Fix it by returning a valid proc address.



See Also

Code Samples


Personal tools
Translations
Newest Version