ReactOS  0.4.14-dev-376-gaedba84
delayimp.h
Go to the documentation of this file.
1 #ifndef _delayimp_h
2 #define _delayimp_h
3 
4 #ifdef __GNUC__
5 /* Hack, for bug in ld. Will be removed soon. */
6 #define __ImageBase _image_base__
7 #endif
8 
9 #if defined(__cplusplus)
10 #define ExternC extern "C"
11 #else
12 #define ExternC extern
13 #endif
14 
15 #ifndef FACILITY_VISUALCPP
16 #define FACILITY_VISUALCPP ((LONG)0x6d)
17 #endif
18 #define VcppException(sev,err) ((sev) | (FACILITY_VISUALCPP<<16) | err)
19 
20 #define DELAYLOAD_VERSION 0x200
21 
22 typedef DWORD RVA;
25 
26 enum DLAttr
27 {
28  dlattrRva = 0x1,
29 };
30 
31 /* Notification codes */
32 enum
33 {
40 };
41 
42 typedef struct ImgDelayDescr
43 {
54 
55 typedef struct DelayLoadProc
56 {
58  union
59  {
62  };
64 
65 typedef struct DelayLoadInfo
66 {
76 
77 typedef FARPROC (WINAPI *PfnDliHook)(unsigned, PDelayLoadInfo);
78 
79 
82 
83 #endif /* not _delayimp_h */
RVA rvaUnloadIAT
Definition: delayimp.h:50
FARPROC pfnCur
Definition: delayimp.h:73
const ImgDelayDescr * PCImgDelayDescr
Definition: delayimp.h:53
struct DelayLoadProc DelayLoadProc
struct DelayLoadInfo * PDelayLoadInfo
BOOL fImportByName
Definition: delayimp.h:57
RVA rvaDLLName
Definition: delayimp.h:45
FARPROC(WINAPI * PfnDliHook)(unsigned, PDelayLoadInfo)
Definition: delayimp.h:77
IMAGE_THUNK_DATA * PImgThunkData
Definition: delayimp.h:23
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD dwTimeStamp
Definition: delayimp.h:51
LPCSTR szProcName
Definition: delayimp.h:60
DelayLoadProc dlp
Definition: delayimp.h:71
DWORD dwLastError
Definition: delayimp.h:74
HMODULE hmodCur
Definition: delayimp.h:72
struct DelayLoadInfo DelayLoadInfo
const char * LPCSTR
Definition: xmlstorage.h:183
DWORD grAttrs
Definition: delayimp.h:44
struct ImgDelayDescr * PImgDelayDescr
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD RVA
Definition: delayimp.h:22
PCImgDelayDescr pidd
Definition: delayimp.h:68
DLAttr
Definition: delayimp.h:26
DWORD cb
Definition: delayimp.h:67
LPCSTR szDll
Definition: delayimp.h:70
ExternC PfnDliHook __pfnDliFailureHook2
Definition: delayimp.h:81
DWORD dwOrdinal
Definition: delayimp.h:61
const IMAGE_THUNK_DATA * PCImgThunkData
Definition: delayimp.h:24
FARPROC * ppfn
Definition: delayimp.h:69
DWORD RVA
Definition: compat.h:911
#define ExternC
Definition: delayimp.h:12
ExternC PfnDliHook __pfnDliNotifyHook2
Definition: delayimp.h:80
RVA rvaBoundIAT
Definition: delayimp.h:49
struct ImgDelayDescr ImgDelayDescr
int(* FARPROC)()
Definition: compat.h:28