Twain_DSM
1.0
|
Data Source Manager. More...
#include "dsm.h"
Go to the source code of this file.
Classes | |
struct | TwLocalize |
Localization: we have the selection box on Windows that we have to deal with, so this table gives us all our strings in UTF-8 format. More... | |
Macros | |
#define | TWNDSM_DS_REG_LOC "Software\\Microsoft\\Windows NT\\CurrentVersion\\TWAIN" |
Functions | |
DSMENTRY | DSM_Entry (TW_IDENTITY *_pOrigin, TW_IDENTITY *_pDest, TW_UINT32 _DG, TW_UINT16 _DAT, TW_UINT16 _MSG, TW_MEMREF _pData) |
Data Source Manager Entry Point. More... | |
BOOL WINAPI | DllMain (HINSTANCE _hmodule, DWORD _dwReasonCalled, LPVOID) |
DllMain is only needed for Windows, and it's only needed to collect our instance handle, which is also our module handle. More... | |
BOOL CALLBACK | SelectDlgProc (HWND _hWnd, UINT _Message, WPARAM _wParam, LPARAM _lParam) |
We support a selection dialog on Windows. More... | |
BOOL CALLBACK | EnumChildProc (HWND hwnd, LPARAM lParam) |
We support a selection dialog on Windows. More... | |
TW_HANDLE PASCAL | DSM_MemAllocate (TW_UINT32 _bytes) |
void PASCAL | DSM_MemFree (TW_HANDLE _handle) |
TW_MEMREF PASCAL | DSM_MemLock (TW_HANDLE _handle) |
void PASCAL | DSM_MemUnlock (TW_HANDLE _handle) |
void * | DSM_LoadFunction (void *_pHandle, const char *_pszSymbol) |
This function wraps the function loading calls. More... | |
Variables | |
HINSTANCE | g_hinstance = 0 |
Windows Instance handle for the DSM DLL... | |
CTwnDsm * | g_ptwndsm = 0 |
The main DSM object. | |
CTwnDsmLog * | g_ptwndsmlog = 0 |
The logging object, only access through macros. | |
static TwLocalize | s_twlocalize [] |
Localized strings for the select dialog. | |
Data Source Manager.
This software manages the interactions between the application and the Source.
Definition in file dsm.cpp.