From 51d06cf03ce4c2dfe3a356756caf7d15a5984431 Mon Sep 17 00:00:00 2001 From: mjjo Date: Sat, 20 Jul 2013 23:23:09 +0000 Subject: [PATCH] --- HookMsg/StdAfx.h | 112 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 HookMsg/StdAfx.h diff --git a/HookMsg/StdAfx.h b/HookMsg/StdAfx.h new file mode 100644 index 0000000..90e44ff --- /dev/null +++ b/HookMsg/StdAfx.h @@ -0,0 +1,112 @@ +// stdafx.h : include file for standard system include files, +// or project specific include files that are used frequently, but +// are changed infrequently +// + +#if !defined(AFX_STDAFX_H__15F93E63_5CA9_4F85_90A9_CFA590A7A26E__INCLUDED_) +#define AFX_STDAFX_H__15F93E63_5CA9_4F85_90A9_CFA590A7A26E__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers + +#include // MFC core and standard components +#include // MFC extensions +#include // MFC Automation classes +#include // MFC support for Internet Explorer 4 Common Controls +#ifndef _AFX_NO_AFXCMN_SUPPORT +#include // MFC support for Windows Common Controls +#endif // _AFX_NO_AFXCMN_SUPPORT + +#include +#include + +#include +#include +#define WS_EX_LAYERED 0x00080000 +#define LWA_ALPHA 0x00000002 + +#pragma comment(lib,"winmm.lib") +#include + + +// Ãß°¡ +#include +#include +#include // T2A macros +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// Ãß°¡ +#import "c:\daishin\CYBOSPLUS\cpdib.dll" no_namespace named_guids +#import "c:\daishin\CYBOSPLUS\cptrade.dll" no_namespace named_guids +#import "c:\daishin\CYBOSPLUS\cputil.dll" no_namespace named_guids + +///////////////////////////////////////////////// +// ¸Åµµ±â´É Áö¿øÀ» À§ÇѰÍ. +// ÇöÀç »ç¿ëÇÏÁö¾ÊÀ½. 2003/10/1 +#define UM_AUTOMEDO 0x1234 +typedef struct +{ + char szJCode[8]; + long nMesuDanga; + long nMesuSu; +} AUTOMEDO_MSGDATA, *PAUTOMEDO_MSGDATA; +extern AUTOMEDO_MSGDATA g_AutomedoData; +extern COPYDATASTRUCT g_AutoMedoCopyDataStructure; +///////////////////////////////////////////////// + + +#ifdef _DEBUG +#pragma comment(lib,"./../HookInj/Debug/HookInj.lib") +#else +#pragma comment(lib,"./../HookInj/Release/HookInj.lib") +#endif +#pragma message("Automatically linking with HookInj.lib") +#include "./../HookInj/HookInj.h" + +#pragma comment( lib, "ws2_32.lib" ) +#pragma comment( lib, "mswsock.lib" ) + +#include "ZXSocket.h" + +#include "Spy.h" +#include "XListBox.h" +#include "CpDibEvent.h" + +#define _ATL_APARTMENT_THREADED +#include +//You may derive a class from CComModule and use it if you want to override +//something, but do not change the name of _Module +class CHookMsgModule : public CComModule +{ +public: + LONG Unlock(); + LONG Lock(); + LPCTSTR FindOneOf(LPCTSTR p1, LPCTSTR p2); + DWORD dwThreadID; +}; +extern CHookMsgModule _Module; +#include + +//~! +#define BEFORE_INCOME +//#define AFTER_INCOME + +#define WORD_THREAD_WITH_HOGA 0 +#define WORD_THREAD_WITHOUT_HOGA 1 + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_STDAFX_H__15F93E63_5CA9_4F85_90A9_CFA590A7A26E__INCLUDED_)