ReactOS 0.4.15-dev-8116-gf69e256
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 __MINGW_LSYMBOL(_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
22typedef DWORD RVA;
25
27{
28 dlattrRva = 0x1,
29};
30
31/* Notification codes */
32enum
33{
40};
41
42typedef struct ImgDelayDescr
43{
54
55typedef struct DelayLoadProc
56{
58 union
59 {
62 };
64
65typedef struct DelayLoadInfo
66{
76
78
79
82
83#endif /* not _delayimp_h */
struct DelayLoadInfo * PDelayLoadInfo
DLAttr
Definition: delayimp.h:27
@ dlattrRva
Definition: delayimp.h:28
const IMAGE_THUNK_DATA * PCImgThunkData
Definition: delayimp.h:24
ExternC PfnDliHook __pfnDliNotifyHook2
Definition: delayimp.h:80
DWORD RVA
Definition: delayimp.h:22
@ dliNoteEndProcessing
Definition: delayimp.h:39
@ dliFailLoadLib
Definition: delayimp.h:37
@ dliNotePreGetProcAddress
Definition: delayimp.h:36
@ dliNotePreLoadLibrary
Definition: delayimp.h:35
@ dliFailGetProc
Definition: delayimp.h:38
@ dliStartProcessing
Definition: delayimp.h:34
const ImgDelayDescr * PCImgDelayDescr
Definition: delayimp.h:53
IMAGE_THUNK_DATA * PImgThunkData
Definition: delayimp.h:23
#define ExternC
Definition: delayimp.h:12
FARPROC(WINAPI * PfnDliHook)(unsigned, PDelayLoadInfo)
Definition: delayimp.h:77
struct ImgDelayDescr * PImgDelayDescr
ExternC PfnDliHook __pfnDliFailureHook2
Definition: delayimp.h:81
int(* FARPROC)()
Definition: compat.h:36
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
static unsigned(__cdecl *hash_bstr)(bstr_t s)
PCImgDelayDescr pidd
Definition: delayimp.h:68
HMODULE hmodCur
Definition: delayimp.h:72
DWORD cb
Definition: delayimp.h:67
FARPROC pfnCur
Definition: delayimp.h:73
LPCSTR szDll
Definition: delayimp.h:70
DelayLoadProc dlp
Definition: delayimp.h:71
FARPROC * ppfn
Definition: delayimp.h:69
DWORD dwLastError
Definition: delayimp.h:74
BOOL fImportByName
Definition: delayimp.h:57
DWORD dwOrdinal
Definition: delayimp.h:61
LPCSTR szProcName
Definition: delayimp.h:60
RVA rvaUnloadIAT
Definition: delayimp.h:50
RVA rvaBoundIAT
Definition: delayimp.h:49
DWORD dwTimeStamp
Definition: delayimp.h:51
RVA rvaDLLName
Definition: delayimp.h:45
DWORD grAttrs
Definition: delayimp.h:44
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183