SysInit.DelayLoadInfo

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

  DelayLoadInfo = record
    cb:          LongWord;       { size of structure                 }
    pidd:        PImgDelayDescr; { raw form of data (everything is
                                   there)                            }
    ppfn:        Pointer;        { points to address of function to
                                   load                              }
    szDll:       _PAnsiChr;      { name of dll                       }
    dlp:         TDelayLoadProc; { name or ordinal of procedure      }
    hmodCur:     HMODULE;        { the hInstance of the library we
                                   have loaded                       }
    pfnCur:      Pointer;        { the actual function that will be
                                   called                            }
    dwLastError: LongWord;       { error received (if an error
                                   notification)                     }
  end;

Propriétés

Type Visibilité  Source Unité  Parent
record public SysInit.pas SysInit SysInit

Description

Enregistrement contenant des informations sur le chargement différé.

La signification de chaque champ de l'enregistrement DelayLoadInfo est donnée dans le tableau suivant.


Champ Signification

cb

La taille de la structure.

pidd

Les données au format brut.

ppfn

Pointeur sur l'adresse de la fonction qui est chargée.

szDll

Le nom de la bibliothèque.

dlp

Le nom ou l'ordinal de la procédure qui est chargée.

hmodCur

Le hInstance de la bibliothèque actuellement chargée. C'est un enregistrement de type TDelayLoadProc.

pfnCur

La fonction réelle qui sera appelée.

dwLastError

En cas d'une notification d'erreur, l'erreur reçue est stockée ici.


Voir aussi

Exemples de code