ReactOS 0.4.16-dev-2-g02a6913
|
#include <windef.h>
#include <winbase.h>
#include <shimlib.h>
#include "ntndk.h"
#include <setup_shim.inl>
#include <implement_shim.inl>
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | SHIM_NS ForceDXSetupSuccess |
#define | DSETUPERR_SUCCESS 0 |
#define | SHIM_NUM_HOOKS 6 |
#define | SHIM_SETUP_HOOKS |
Typedefs | |
typedef HMODULE(WINAPI * | LOADLIBRARYAPROC) (LPCSTR lpLibFileName) |
typedef HMODULE(WINAPI * | LOADLIBRARYWPROC) (LPCWSTR lpLibFileName) |
typedef HMODULE(WINAPI * | LOADLIBRARYEXAPROC) (LPCSTR lpLibFileName, HANDLE hFile, DWORD dwFlags) |
typedef HMODULE(WINAPI * | LOADLIBRARYEXWPROC) (LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags) |
typedef FARPROC(WINAPI * | GETPROCADDRESSPROC) (HMODULE hModule, LPCSTR lpProcName) |
typedef BOOL(WINAPI * | FREELIBRARYPROC) (HINSTANCE hLibModule) |
Functions | |
INT_PTR WINAPI | DirectXSetup (HWND hWnd, LPSTR lpszRootPath, DWORD dwFlags) |
INT_PTR WINAPI | DirectXSetupA (HWND hWnd, LPSTR lpszRootPath, DWORD dwFlags) |
INT_PTR WINAPI | DirectXSetupW (HWND hWnd, LPWSTR lpszRootPath, DWORD dwFlags) |
INT_PTR WINAPI | DirectXSetupGetVersion (DWORD *lpdwVersion, DWORD *lpdwMinorVersion) |
static BOOL | IsDxSetupW (PCUNICODE_STRING LibraryPath) |
static BOOL | IsDxSetupA (PCANSI_STRING LibraryPath) |
HMODULE WINAPI SHIM_OBJ_NAME() | APIHook_LoadLibraryA (LPCSTR lpLibFileName) |
HMODULE WINAPI SHIM_OBJ_NAME() | APIHook_LoadLibraryW (LPCWSTR lpLibFileName) |
HMODULE WINAPI SHIM_OBJ_NAME() | APIHook_LoadLibraryExA (LPCSTR lpLibFileName, HANDLE hFile, DWORD dwFlags) |
HMODULE WINAPI SHIM_OBJ_NAME() | APIHook_LoadLibraryExW (LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags) |
FARPROC WINAPI SHIM_OBJ_NAME() | APIHook_GetProcAddress (HMODULE hModule, LPCSTR lpProcName) |
BOOL WINAPI SHIM_OBJ_NAME() | APIHook_FreeLibrary (HINSTANCE hLibModule) |
#define DSETUPERR_SUCCESS 0 |
Definition at line 26 of file forcedxsetupsuccess.c.
#define SHIM_NS ForceDXSetupSuccess |
Definition at line 22 of file forcedxsetupsuccess.c.
#define SHIM_NUM_HOOKS 6 |
Definition at line 192 of file forcedxsetupsuccess.c.
#define SHIM_SETUP_HOOKS |
Definition at line 193 of file forcedxsetupsuccess.c.
#define WIN32_NO_STATUS |
Definition at line 8 of file forcedxsetupsuccess.c.
typedef BOOL(WINAPI * FREELIBRARYPROC) (HINSTANCE hLibModule) |
Definition at line 19 of file forcedxsetupsuccess.c.
Definition at line 18 of file forcedxsetupsuccess.c.
Definition at line 14 of file forcedxsetupsuccess.c.
Definition at line 16 of file forcedxsetupsuccess.c.
Definition at line 17 of file forcedxsetupsuccess.c.
Definition at line 15 of file forcedxsetupsuccess.c.
Definition at line 180 of file forcedxsetupsuccess.c.
Definition at line 148 of file forcedxsetupsuccess.c.
Definition at line 104 of file forcedxsetupsuccess.c.
HMODULE WINAPI SHIM_OBJ_NAME() APIHook_LoadLibraryExA | ( | LPCSTR | lpLibFileName, |
HANDLE | hFile, | ||
DWORD | dwFlags | ||
) |
Definition at line 126 of file forcedxsetupsuccess.c.
HMODULE WINAPI SHIM_OBJ_NAME() APIHook_LoadLibraryExW | ( | LPCWSTR | lpLibFileName, |
HANDLE | hFile, | ||
DWORD | dwFlags | ||
) |
Definition at line 137 of file forcedxsetupsuccess.c.
Definition at line 115 of file forcedxsetupsuccess.c.
Definition at line 28 of file forcedxsetupsuccess.c.
Referenced by APIHook_GetProcAddress().
Definition at line 34 of file forcedxsetupsuccess.c.
Referenced by APIHook_GetProcAddress().
Definition at line 46 of file forcedxsetupsuccess.c.
Referenced by APIHook_GetProcAddress(), START_TEST(), and test_GetProcAddress().
Definition at line 40 of file forcedxsetupsuccess.c.
Referenced by APIHook_GetProcAddress().
|
static |
Definition at line 90 of file forcedxsetupsuccess.c.
Referenced by APIHook_LoadLibraryA(), and APIHook_LoadLibraryExA().
|
static |
Definition at line 56 of file forcedxsetupsuccess.c.
Referenced by APIHook_LoadLibraryExW(), APIHook_LoadLibraryW(), and IsDxSetupA().