mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +00:00
30 lines
638 B
C
30 lines
638 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, int *BeginPos);
|
|
|
|
DLLIMPORT void GetWord (TCurrentMode *P);
|
|
|
|
void ConvertToMatchedWordA(TEverythingParams *TP);
|
|
|
|
#endif /* _TextOutHook_H_ */
|