Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2c1d581c
Commit
2c1d581c
authored
Apr 26, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Apr 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32: Mark some functions static and other internal ones hidden.
parent
dae65898
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
dsm_ctrl.c
dlls/twain_32/dsm_ctrl.c
+4
-0
twain_i.h
dlls/twain_32/twain_i.h
+12
-15
No files found.
dlls/twain_32/dsm_ctrl.c
View file @
2c1d581c
...
...
@@ -35,6 +35,10 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
twain
);
static
TW_UINT16
DSM_initialized
;
/* whether Source Manager is initialized */
static
TW_UINT32
DSM_sourceId
;
/* source id generator */
static
TW_UINT16
DSM_currentDevice
;
/* keep track of device during enumeration */
struct
all_devices
{
char
*
modname
;
TW_IDENTITY
identity
;
...
...
dlls/twain_32/twain_i.h
View file @
2c1d581c
...
...
@@ -39,32 +39,29 @@ typedef struct tagActiveDS
DSENTRYPROC
dsEntry
;
}
activeDS
;
TW_UINT16
DSM_initialized
;
/* whether Source Manager is initialized */
TW_UINT16
DSM_currentState
;
/* current state of Source Manager */
TW_UINT16
DSM_twCC
;
/* current condition code of Source Manager */
TW_UINT32
DSM_sourceId
;
/* source id generator */
TW_UINT16
DSM_currentDevice
;
/* keep track of device during enumeration */
TW_UINT16
DSM_currentState
DECLSPEC_HIDDEN
;
/* current state of Source Manager */
TW_UINT16
DSM_twCC
DECLSPEC_HIDDEN
;
/* current condition code of Source Manager */
activeDS
*
activeSources
;
/* list of active data sources */
activeDS
*
activeSources
DECLSPEC_HIDDEN
;
/* list of active data sources */
/* Implementation of operation triplets (From Application to Source Manager) */
extern
TW_UINT16
TWAIN_CloseDS
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_IdentityGetDefault
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_IdentityGetFirst
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_IdentityGetNext
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_OpenDS
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_UserSelect
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_CloseDSM
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_OpenDSM
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
extern
TW_UINT16
TWAIN_GetDSMStatus
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
);
(
pTW_IDENTITY
pOrigin
,
TW_MEMREF
pData
)
DECLSPEC_HIDDEN
;
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment