|
LibreOffice Module extensions (master) 1
|
#include <prewin.h>#include <Shlobj.h>#include <postwin.h>#include <exception>#include <string>#include <sstream>#include <iomanip>Go to the source code of this file.
Macros | |
| #define | WM_TWAIN_EVENT (WM_USER + 1) |
| #define | TWAIN_EVENT_NOTIFYHWND 0 |
| #define | TWAIN_EVENT_REQUESTRESULT 1 |
| #define | TWAIN_EVENT_NONE 10 |
| #define | TWAIN_EVENT_QUIT 11 |
| #define | TWAIN_EVENT_SCANNING 12 |
| #define | TWAIN_EVENT_XFER 13 |
| #define | WM_TWAIN_REQUEST (WM_USER + 2) |
| #define | TWAIN_REQUEST_QUIT 0 |
| #define | TWAIN_REQUEST_SELECTSOURCE 1 |
| #define | TWAIN_REQUEST_INITXFER 2 |
| #define | WM_SHIM_INTERNAL (WM_USER + 200) |
Functions | |
| template<typename IntType > | |
| std::string | Num2Hex (IntType n) |
| void | ThrowWin32Error (const char *sFunc, DWORD nWin32Error) |
| void | ThrowLastError (const char *sFunc) |
| #define TWAIN_EVENT_NONE 10 |
Definition at line 33 of file twain32shim.hxx.
| #define TWAIN_EVENT_NOTIFYHWND 0 |
Definition at line 27 of file twain32shim.hxx.
| #define TWAIN_EVENT_QUIT 11 |
Definition at line 34 of file twain32shim.hxx.
| #define TWAIN_EVENT_REQUESTRESULT 1 |
Definition at line 30 of file twain32shim.hxx.
| #define TWAIN_EVENT_SCANNING 12 |
Definition at line 35 of file twain32shim.hxx.
| #define TWAIN_EVENT_XFER 13 |
Definition at line 38 of file twain32shim.hxx.
| #define TWAIN_REQUEST_INITXFER 2 |
Definition at line 45 of file twain32shim.hxx.
| #define TWAIN_REQUEST_QUIT 0 |
Definition at line 43 of file twain32shim.hxx.
| #define TWAIN_REQUEST_SELECTSOURCE 1 |
Definition at line 44 of file twain32shim.hxx.
| #define WM_SHIM_INTERNAL (WM_USER + 200) |
Definition at line 48 of file twain32shim.hxx.
| #define WM_TWAIN_EVENT (WM_USER + 1) |
Definition at line 24 of file twain32shim.hxx.
| #define WM_TWAIN_REQUEST (WM_USER + 2) |
Definition at line 41 of file twain32shim.hxx.
| std::string Num2Hex | ( | IntType | n | ) |
| void ThrowLastError | ( | const char * | sFunc | ) |
Definition at line 66 of file twain32shim.hxx.
References ThrowWin32Error().
| void ThrowWin32Error | ( | const char * | sFunc, |
| DWORD | nWin32Error | ||
| ) |
Definition at line 58 of file twain32shim.hxx.
References Num2Hex().
Referenced by ThrowLastError().