Commit e01ea707 authored by Alexandre Julliard's avatar Alexandre Julliard

twain_32: Make some functions static.

parent 4c2a2111
...@@ -62,7 +62,7 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -62,7 +62,7 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE; return TRUE;
} }
TW_UINT16 TWAIN_SourceManagerHandler ( static TW_UINT16 TWAIN_SourceManagerHandler (
pTW_IDENTITY pOrigin, pTW_IDENTITY pOrigin,
TW_UINT16 DAT, TW_UINT16 DAT,
TW_UINT16 MSG, TW_UINT16 MSG,
......
...@@ -44,23 +44,9 @@ TW_UINT16 DSM_currentState; /* current state of Source Manager */ ...@@ -44,23 +44,9 @@ TW_UINT16 DSM_currentState; /* current state of Source Manager */
TW_UINT16 DSM_twCC; /* current condition code of Source Manager */ TW_UINT16 DSM_twCC; /* current condition code of Source Manager */
TW_UINT32 DSM_sourceId; /* source id generator */ TW_UINT32 DSM_sourceId; /* source id generator */
TW_UINT16 DSM_currentDevice; /* keep track of device during enumeration */ TW_UINT16 DSM_currentDevice; /* keep track of device during enumeration */
HINSTANCE DSM_instance;
activeDS *activeSources; /* list of active data sources */ activeDS *activeSources; /* list of active data sources */
/* Device Source Manager Control handlers */
extern TW_UINT16 TWAIN_ControlGroupHandler (
pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,
TW_UINT16 DAT, TW_UINT16 MSG, TW_MEMREF pData);
extern TW_UINT16 TWAIN_ImageGroupHandler (
pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,
TW_UINT16 DAT, TW_UINT16 MSG, TW_MEMREF pData);
extern TW_UINT16 TWAIN_AudioGroupHandler (
pTW_IDENTITY pOrigin, pTW_IDENTITY pDest,
TW_UINT16 DAT, TW_UINT16 MSG, TW_MEMREF pData);
extern TW_UINT16 TWAIN_SourceManagerHandler (
pTW_IDENTITY pOrigin, TW_UINT16 DAT, TW_UINT16 MSG, TW_MEMREF pData);
/* Implementation of operation triplets (From Application to Source Manager) */ /* Implementation of operation triplets (From Application to Source Manager) */
extern TW_UINT16 TWAIN_CloseDS extern TW_UINT16 TWAIN_CloseDS
(pTW_IDENTITY pOrigin, TW_MEMREF pData); (pTW_IDENTITY pOrigin, TW_MEMREF pData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment