mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
19 lines
400 B
C
19 lines
400 B
C
#ifndef _GetWord_H_
|
|
#define _GetWord_H_
|
|
|
|
#include <windows.h>
|
|
|
|
typedef enum TKnownWndClass {
|
|
kwcUnknown,
|
|
kwcRichEdit,
|
|
kwcMultiLineEdit,
|
|
kwcSingleLineEdit,
|
|
kwcInternetExplorer_Server,
|
|
kwcConsole,
|
|
} TKnownWndClass;
|
|
|
|
TKnownWndClass GetWindowType(HWND WND, const char* WNDClass);
|
|
char* TryGetWordFromAnyWindow(TKnownWndClass WndType, HWND WND, POINT Pt, DWORD *BeginPos);
|
|
|
|
#endif
|