2009-02-02 19:26:39 +00:00
|
|
|
#ifndef _TextOutHook_H_
|
|
|
|
#define _TextOutHook_H_
|
|
|
|
|
|
|
|
#if BUILDING_DLL
|
|
|
|
# define DLLIMPORT __declspec (dllexport)
|
|
|
|
#else /* Not BUILDING_DLL */
|
|
|
|
# define DLLIMPORT __declspec (dllimport)
|
|
|
|
#endif /* Not BUILDING_DLL */
|
|
|
|
|
|
|
|
#include "ThTypes.h"
|
|
|
|
|
2010-12-03 21:12:20 +00:00
|
|
|
typedef struct TEverythingParams {
|
|
|
|
HWND WND;
|
|
|
|
POINT Pt;
|
|
|
|
int Active;
|
|
|
|
int WordLen;
|
|
|
|
int Unicode;
|
|
|
|
int BeginPos;
|
|
|
|
char MatchedWordA[256];
|
|
|
|
wchar_t MatchedWordW[256];
|
|
|
|
} TEverythingParams;
|
|
|
|
|
2009-02-02 19:26:39 +00:00
|
|
|
char* ExtractFromEverything(HWND WND, POINT Pt, int *BeginPos);
|
|
|
|
|
|
|
|
DLLIMPORT void GetWord (TCurrentMode *P);
|
|
|
|
|
2010-12-03 21:12:20 +00:00
|
|
|
void ConvertToMatchedWordA(TEverythingParams *TP);
|
2009-02-02 19:26:39 +00:00
|
|
|
|
|
|
|
#endif /* _TextOutHook_H_ */
|