Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
2c1d581c
Commit
2c1d581c
authored
13 years ago
by
Marcus Meissner
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
twain_32: Mark some functions static and other internal ones hidden.
parent
dae65898
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/twain_32/dsm_ctrl.c
+4
-0
4 additions, 0 deletions
dlls/twain_32/dsm_ctrl.c
dlls/twain_32/twain_i.h
+12
-15
12 additions, 15 deletions
dlls/twain_32/twain_i.h
with
16 additions
and
15 deletions
dlls/twain_32/dsm_ctrl.c
+
4
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
dlls/twain_32/twain_i.h
+
12
−
15
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment