SafeLoadLibrary

Load a library safely

Declaration

Source position: sysutilh.inc line 336

  function SafeLoadLibrary(const FileName: AnsiString; ErrorMode: DWord)
                           : HMODULE;

Description

SafeLoadLibrary saves and restores some registers before and after issuing a call to LoadLibrary.

Errors

None.