#include <windows.h>
#include <delayimp.h>
#include <stdio.h>
#include <versionhelpers.h>
Go to the source code of this file.
◆ DliFailureHook()
Definition at line 63 of file dlihook.c.
66{
68 {
70 }
72 {
74 "Delayimport: Failed to import %s from %s\n",
77 }
78 else
79 {
81 }
82
84}
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
◆ DliNotifyHook()
Definition at line 16 of file dlihook.c.
19{
21 {
23 }
24
26 {
28 }
29
30 if (IsReactOS())
31 {
33 }
34
36 {
38 pdli->
szDll =
"win32u_xpsp2.dll";
39 break;
40
42 pdli->
szDll =
"win32u_2k3sp2.dll";
43 break;
44
46 pdli->
szDll =
"win32u_vista.dll";
47 break;
48
49 default:
50 break;
51 }
52
54
56}
int strcmp(const char *String1, const char *String2)
#define _WIN32_WINNT_WS03
#define _WIN32_WINNT_WINXP
#define _WIN32_WINNT_VISTA
◆ __pfnDliFailureHook2
◆ __pfnDliNotifyHook2
Custom delay-loading hooks for loading the Setup DLLs from a suitable path.
Definition at line 58 of file dlihook.c.