|
ReactOS 0.4.16-dev-1875-g3000d45
|
#include <apitest.h>#include <strsafe.h>#include <delayimp.h>#include <mmsystem.h>#include <winver.h>#include <shlwapi.h>#include <intshcut.h>#include <sfc.h>#include <imagehlp.h>#include <mmddk.h>#include <pseh/pseh2.h>
Go to the source code of this file.
Classes | |
| struct | UnProtect |
Macros | |
| #define | FACILITY_VISUALCPP ((LONG)0x6d) |
| #define | VcppException(sev, err) ((sev) | (FACILITY_VISUALCPP<<16) | err) |
| #define | WINMM_DLLNAME "WINMM.dll" |
| #define | LAST_DLI 333 |
| #define | CheckDli (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : CheckDli_imp |
| #define | CheckDliDone (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : CheckDliDone_imp |
Functions | |
| char * | target (PDelayLoadInfo pdli) |
| static void | SetExpectedDli (unsigned *order) |
| static void | CheckDli_imp (unsigned dliNotify, PDelayLoadInfo pdli, BOOL ErrorHandler) |
| static void | CheckDliDone_imp () |
| INT_PTR WINAPI | MyFunction () |
| BOOL WINAPI | MySfcIsKeyProtected (HKEY KeyHandle, LPCWSTR SubKeyName, REGSAM KeySam) |
| FARPROC WINAPI | DliHook (unsigned dliNotify, PDelayLoadInfo pdli) |
| FARPROC WINAPI | DliFailHook (unsigned dliNotify, PDelayLoadInfo pdli) |
| LONG | ExceptionFilter (IN PEXCEPTION_POINTERS ExceptionInfo, ULONG ExceptionCode) |
| template<typename PTR > | |
| PTR | Rva2Addr (PIMAGE_DOS_HEADER dos, RVA rva) |
| START_TEST (delayimp) | |
| #define CheckDli (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : CheckDli_imp |
Definition at line 128 of file delayimp.cpp.
| #define CheckDliDone (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : CheckDliDone_imp |
Definition at line 129 of file delayimp.cpp.
Definition at line 28 of file delayimp.cpp.
| #define LAST_DLI 333 |
Definition at line 88 of file delayimp.cpp.
| #define VcppException | ( | sev, | |
| err | |||
| ) | ((sev) | (FACILITY_VISUALCPP<<16) | err) |
Definition at line 32 of file delayimp.cpp.
| #define WINMM_DLLNAME "WINMM.dll" |
Definition at line 38 of file delayimp.cpp.
|
static |
Definition at line 97 of file delayimp.cpp.
|
static |
Definition at line 118 of file delayimp.cpp.
| FARPROC WINAPI DliFailHook | ( | unsigned | dliNotify, |
| PDelayLoadInfo | pdli | ||
| ) |
Definition at line 258 of file delayimp.cpp.
Referenced by START_TEST().
| FARPROC WINAPI DliHook | ( | unsigned | dliNotify, |
| PDelayLoadInfo | pdli | ||
| ) |
Definition at line 145 of file delayimp.cpp.
Referenced by START_TEST().
| LONG ExceptionFilter | ( | IN PEXCEPTION_POINTERS | ExceptionInfo, |
| ULONG | ExceptionCode | ||
| ) |
Definition at line 307 of file delayimp.cpp.
Referenced by __C_specific_handler(), and START_TEST().
| PTR Rva2Addr | ( | PIMAGE_DOS_HEADER | dos, |
| RVA | rva | ||
| ) |
Definition at line 380 of file delayimp.cpp.
Definition at line 90 of file delayimp.cpp.
Referenced by START_TEST().
| START_TEST | ( | delayimp | ) |
Definition at line 402 of file delayimp.cpp.
| char * target | ( | PDelayLoadInfo | pdli | ) |
|
extern |
Definition at line 58 of file dlihook.c.
Referenced by START_TEST().
Definition at line 41 of file delayimp.cpp.
Referenced by DliHook(), and START_TEST().
Definition at line 42 of file delayimp.cpp.
Referenced by DliHook().
Definition at line 43 of file delayimp.cpp.
Referenced by DliHook(), and START_TEST().
Definition at line 86 of file delayimp.cpp.
Referenced by CheckDli_imp(), CheckDliDone_imp(), and SetExpectedDli().
| size_t g_DliHookIndex = 0 |
Definition at line 87 of file delayimp.cpp.
Referenced by CheckDli_imp(), CheckDliDone_imp(), and SetExpectedDli().
Definition at line 44 of file delayimp.cpp.
Referenced by ExceptionFilter(), and START_TEST().
Definition at line 46 of file delayimp.cpp.
Referenced by DliHook(), ExceptionFilter(), and START_TEST().
Definition at line 47 of file delayimp.cpp.
Referenced by DliHook(), ExceptionFilter(), and START_TEST().
| unsigned g_imagehlp[] = { dliStartProcessing, dliNotePreLoadLibrary, dliFailLoadLib, LAST_DLI } |
Definition at line 398 of file delayimp.cpp.
Referenced by START_TEST().
Definition at line 45 of file delayimp.cpp.
Referenced by DliHook(), and START_TEST().
| unsigned g_scard[] = { dliStartProcessing, dliNoteEndProcessing, LAST_DLI } |
Definition at line 396 of file delayimp.cpp.
Referenced by START_TEST().
| unsigned g_sfc_file[] = { dliStartProcessing, dliNotePreGetProcAddress, dliNoteEndProcessing, LAST_DLI } |
Definition at line 393 of file delayimp.cpp.
Referenced by START_TEST().
| unsigned g_sfc_key[] = { dliStartProcessing, dliNotePreLoadLibrary, dliFailLoadLib, dliNotePreGetProcAddress, dliNoteEndProcessing, LAST_DLI } |
Definition at line 392 of file delayimp.cpp.
Referenced by START_TEST().
| unsigned g_shlwapi[] = { dliStartProcessing, dliNotePreLoadLibrary, dliNotePreGetProcAddress, dliNoteEndProcessing, LAST_DLI } |
Definition at line 397 of file delayimp.cpp.
Referenced by START_TEST().
| char g_Target[100] = { 0 } |
Definition at line 48 of file delayimp.cpp.
Referenced by CheckDliDone_imp(), SetExpectedDli(), and target().
Definition at line 377 of file delayimp.cpp.
Referenced by Rva2Addr().
| unsigned g_version_a[] = { dliStartProcessing, dliNotePreLoadLibrary, dliNotePreGetProcAddress, dliFailGetProc, dliNoteEndProcessing, LAST_DLI } |
Definition at line 394 of file delayimp.cpp.
Referenced by START_TEST().
| unsigned g_version_w[] = { dliStartProcessing, dliNotePreGetProcAddress, dliFailGetProc, dliNoteEndProcessing, LAST_DLI } |
Definition at line 395 of file delayimp.cpp.
Referenced by START_TEST().
|
static |
Definition at line 144 of file delayimp.cpp.
Referenced by DliFailHook(), and DliHook().
| unsigned g_winmm_get_cur_task[] = { dliStartProcessing, dliNotePreLoadLibrary, dliNotePreGetProcAddress, dliNoteEndProcessing, LAST_DLI } |
Definition at line 389 of file delayimp.cpp.
Referenced by START_TEST().
| unsigned g_winmm_mide_in_close[] = { dliStartProcessing, dliNotePreGetProcAddress, dliFailGetProc, dliNoteEndProcessing, LAST_DLI } |
Definition at line 391 of file delayimp.cpp.
Referenced by START_TEST().
| unsigned g_winmm_midi_out_close[] = { dliStartProcessing, dliNotePreGetProcAddress, dliNoteEndProcessing, LAST_DLI } |
Definition at line 390 of file delayimp.cpp.
Referenced by START_TEST().