mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-24 16:14:05 +00:00
30 lines
640 B
C
30 lines
640 B
C
#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"
|
|
|
|
typedef struct TEverythingParams {
|
|
HWND WND;
|
|
POINT Pt;
|
|
int Active;
|
|
int WordLen;
|
|
int Unicode;
|
|
int BeginPos;
|
|
char MatchedWordA[256];
|
|
wchar_t MatchedWordW[256];
|
|
} TEverythingParams;
|
|
|
|
char* ExtractFromEverything(HWND WND, POINT Pt, DWORD *BeginPos);
|
|
|
|
DLLIMPORT void GetWord (TCurrentMode *P);
|
|
|
|
void ConvertToMatchedWordA(TEverythingParams *TP);
|
|
|
|
#endif /* _TextOutHook_H_ */
|