Edit

Share via


DelayLoadFailureHook function

Returns the address of a delay-load failure callback function for the specified DLL and process.

Syntax

FARPROC WINAPI DelayLoadFailureHook( _In_ LPCSTR pszDllName, _In_ LPCSTR pszProcName ); 

Parameters

pszDllName [in]

The name of the DLL.

pszProcName [in]

The name of the procedure.

Return value

The address of the callback function.

Requirements

Requirement Value
Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Library
Kernel32.lib
DLL
Kernel32.dll

See also

Failure Hooks