2024-01-08 23:37:00 +08:00
|
|
|
#pragma once
|
2024-04-02 15:36:52 +08:00
|
|
|
extern "C"
|
|
|
|
{
|
2024-10-01 22:58:41 +08:00
|
|
|
__declspec(dllexport) void winrt_capture_window(HWND hwnd, void (*cb)(byte *, size_t));
|
2024-01-08 23:37:00 +08:00
|
|
|
|
2024-04-02 15:36:52 +08:00
|
|
|
__declspec(dllexport) bool check_language_valid(wchar_t *);
|
2024-07-14 15:09:37 +08:00
|
|
|
__declspec(dllexport) void getlanguagelist(void (*cb)(LPCWSTR));
|
|
|
|
__declspec(dllexport) void OCR(void *ptr, size_t size, wchar_t *lang, wchar_t *, void (*)(int, int, int, int, LPCWSTR));
|
2024-01-08 23:37:00 +08:00
|
|
|
|
2024-07-14 15:09:37 +08:00
|
|
|
}
|