RAD Studio |  |

delayimp.h
Collapse All

The following functions, macros, and classes are provided in delayimp.h:

Topics

Name | Description
__pfnDliNotifyHook, __pfnDliFailureHook | Header File delayimp.h Category Delay load hook notification Routines Prototype typedef FARPROC (WINAPI *DelayedLoadHook)(dliNotification dliNotify, DelayLoadInfo * pdli); Description The delay load mechanism provides two hooks for you to modify the runtime behavior of a delay loaded DLL. By writing your own hook functions using the function signature below and assigning this to the two hooks you can modify the delay load process. DelayLoadProc structure typedef struct DelayLoadProc { BOOL fImportByName; union { LPCSTR szProcName; DWORD dwOrdinal; }; } DelayLoadProc; ImgDelayDescr structure typedef struct ImgDelayDescr { DWORD grAttrs; /* attributes */ LPCSTR szName; /* pointer to dll name */ HMODULE... more
__FUnloadDelayLoadedDLL | Header File delayimp.h Prototype BOOL WINAPI __FUnloadDelayLoadedDLL(LPCSTR szDll); Description Unloads a delay loaded DLL. szDll is pointer to a name to unload, or NULL to unload all the delay load DLLs in the list. Return Value On successful completion __FUnloadDelayLoadedDLL returns true. On error it returns false.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!