ReactOS  0.4.14-dev-614-gbfd8a84
appshim_apitest.h
Go to the documentation of this file.
1 #ifndef APPSHIM_APITEST_H
2 #define APPSHIM_APITEST_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 typedef struct tagHOOKAPI {
15 } HOOKAPI, *PHOOKAPI;
16 
18 typedef PHOOKAPI (WINAPI* tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount);
19 
20 
21 /* versionlie.c */
22 void 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 
26 BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE* module, tGETHOOKAPIS* ppGetHookAPIs);
28 
29 
30 
31 #ifdef __cplusplus
32 } // extern "C"
33 #endif
34 
35 #endif // APPHELP_APITEST_H
#define HRESULT
Definition: msvc.h:7
const uint16_t * PCWSTR
Definition: typedefs.h:55
BOOL LoadShimDLL(PCWSTR ShimDll, HMODULE *module, tGETHOOKAPIS *ppGetHookAPIs)
Definition: versionlie.c:303
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
GLsizei const GLchar ** path
Definition: glext.h:7234
PCSTR LibraryName
Definition: shimlib.h:18
struct tagHOOKAPI HOOKAPI
FT_Library library
Definition: cffdrivr.c:654
unsigned int BOOL
Definition: ntddk_ex.h:94
HRESULT(WINAPI * tSDBGETAPPPATCHDIR)(PVOID hsdb, LPWSTR path, DWORD size)
const char * LPCSTR
Definition: xmlstorage.h:183
tGETHOOKAPIS LoadShimDLL2(PCWSTR ShimDll)
Definition: versionlie.c:365
Definition: msg.h:42
GLsizeiptr size
Definition: glext.h:5919
PHOOKAPI(WINAPI * tGETHOOKAPIS)(LPCSTR szCommandLine, LPCWSTR wszShimName, PDWORD pdwHookCount)
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
PVOID OriginalFunction
Definition: shimlib.h:21
struct tagHOOKAPI * PHOOKAPI
void expect_shim_imp(PHOOKAPI hook, PCSTR library, PCSTR function, PCSTR shim, int *same)
Definition: versionlie.c:45
PVOID ReplacementFunction
Definition: shimlib.h:20
PCSTR FunctionName
Definition: shimlib.h:19
DWORD * PDWORD
Definition: pedump.c:68
const char * PCSTR
Definition: typedefs.h:51
WCHAR * LPWSTR
Definition: xmlstorage.h:184