ReactOS 0.4.15-dev-7958-gcd0bb1a
appshim_apitest.h
Go to the documentation of this file.
1#ifndef APPSHIM_APITEST_H
2#define APPSHIM_APITEST_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct tagHOOKAPI {
16
18typedef PHOOKAPI (WINAPI* tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount);
19
20
21/* versionlie.c */
22void expect_shim_imp(PHOOKAPI hook, PCSTR library, PCSTR function, PCSTR shim, int* same);
23#define expect_shim (winetest_set_location(__FILE__, __LINE__), 0) ? (void)0 : expect_shim_imp
24
25
26BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE* module, tGETHOOKAPIS* ppGetHookAPIs);
28
29
30
31#ifdef __cplusplus
32} // extern "C"
33#endif
34
35#endif // APPHELP_APITEST_H
@ hook
Definition: SystemMenu.c:35
struct tagHOOKAPI HOOKAPI
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE *module, tGETHOOKAPIS *ppGetHookAPIs)
Definition: versionlie.c:307
struct tagHOOKAPI * PHOOKAPI
HRESULT(WINAPI * tSDBGETAPPPATCHDIR)(PVOID hsdb, LPWSTR path, DWORD size)
tGETHOOKAPIS LoadShimDLL2(PCWSTR ShimDll)
Definition: versionlie.c:369
void expect_shim_imp(PHOOKAPI hook, PCSTR library, PCSTR function, PCSTR shim, int *same)
Definition: versionlie.c:45
FT_Library library
Definition: cffdrivr.c:654
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLsizeiptr size
Definition: glext.h:5919
DWORD * PDWORD
Definition: pedump.c:68
PVOID ReplacementFunction
Definition: shimlib.h:20
PCSTR LibraryName
Definition: shimlib.h:18
PCSTR FunctionName
Definition: shimlib.h:19
PVOID OriginalFunction
Definition: shimlib.h:21
const uint16_t * PCWSTR
Definition: typedefs.h:57
const char * PCSTR
Definition: typedefs.h:52
#define HRESULT
Definition: msvc.h:7
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185