This commit is contained in:
2013-08-01 06:01:05 +00:00
parent 16a33dec59
commit df4429eb05
8 changed files with 20 additions and 59 deletions

View File

@@ -11,25 +11,6 @@
#define HOOKINJLIBAPI __declspec(dllexport)
#include "HookInj.h"
//#include "Resource.h"
/* nonstandard extension 'single line comment' was used */
#pragma warning(disable:4001)
// unreferenced formal parameter
#pragma warning(disable:4100)
// Note: Creating precompiled header
#pragma warning(disable:4699)
// function not inlined
#pragma warning(disable:4710)
// unreferenced inline function has been removed
#pragma warning(disable:4514)
// assignment operator could not be generated
#pragma warning(disable:4512)
#ifdef _X86_
#define DebugBreak() _asm { int 3 }
@@ -190,9 +171,9 @@ BOOL APIENTRY DllMain( HINSTANCE hModule,
///////////////////////////////////////////////////////////////////////////////
BOOL WINAPI HAPI_InstallHook( HWND hMainWnd,
HWND hWnd1,
HWND hWnd2,
HWND hWnd3 )
HWND hWnd1,
HWND hWnd2,
HWND hWnd3 )
{
DbgPrintf( "HAPI_InstallHook : Start" );

View File

@@ -30,11 +30,11 @@ typedef struct
} SPYMSGDATA, *PSPYMSGDATA;
// External function prototypes
HOOKINJLIBAPI BOOL WINAPI HAPI_InstallHook( HWND hMainWnd,
BOOL WINAPI HAPI_InstallHook( HWND hMainWnd,
HWND hWnd1,
HWND hWnd2,
HWND hWnd3 );
HOOKINJLIBAPI BOOL WINAPI HAPI_UninstallHook( );
BOOL WINAPI HAPI_UninstallHook( );
//////////////////////////////// End of File //////////////////////////////////
#ifdef __cplusplus

View File

@@ -4,6 +4,7 @@
Version="9.00"
Name="HookInj"
ProjectGUID="{DC5CA5BF-B532-4A5A-90A7-D3B94D2E2783}"
RootNamespace="HookInj"
TargetFrameworkVersion="0"
>
<Platforms>
@@ -150,7 +151,7 @@
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="stdafx.h"
WarningLevel="3"
DebugInformationFormat="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@@ -174,8 +175,6 @@
/>
<Tool
Name="VCBscMakeTool"
SuppressStartupBanner="true"
OutputFile=".\Debug/HookInj.bsc"
/>
<Tool
Name="VCFxCopTool"