goldendict-ng/src/mouseover_win32/GetWord.h
Konstantin Isakov 18b355cda3 Win32-specific mouseover dll sources added, taken directly from StarDict
codebase with minimal modifications.
2009-02-02 19:26:39 +00:00

19 lines
398 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, int *BeginPos);
#endif