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
f67893bd
Commit
f67893bd
authored
Oct 17, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twain_32/tests: Compile with -D__WINESRC__.
parent
640dd17a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
Makefile.in
dlls/twain_32/tests/Makefile.in
+0
-1
dsm.c
dlls/twain_32/tests/dsm.c
+4
-5
No files found.
dlls/twain_32/tests/Makefile.in
View file @
f67893bd
TESTDLL
=
twain_32.dll
TESTDLL
=
twain_32.dll
IMPORTS
=
user32 gdi32
IMPORTS
=
user32 gdi32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
C_SRCS
=
\
dsm.c
dsm.c
...
...
dlls/twain_32/tests/dsm.c
View file @
f67893bd
...
@@ -36,12 +36,12 @@ static BOOL dsm_RegisterWindowClasses(void)
...
@@ -36,12 +36,12 @@ static BOOL dsm_RegisterWindowClasses(void)
BOOL
rc
;
BOOL
rc
;
cls
.
style
=
0
;
cls
.
style
=
0
;
cls
.
lpfnWndProc
=
DefWindowProc
;
cls
.
lpfnWndProc
=
DefWindowProc
A
;
cls
.
cbClsExtra
=
0
;
cls
.
cbClsExtra
=
0
;
cls
.
cbWndExtra
=
0
;
cls
.
cbWndExtra
=
0
;
cls
.
hInstance
=
GetModuleHandleA
(
0
);
cls
.
hInstance
=
GetModuleHandleA
(
0
);
cls
.
hIcon
=
0
;
cls
.
hIcon
=
0
;
cls
.
hCursor
=
LoadCursorA
(
0
,
IDC_ARROW
);
cls
.
hCursor
=
LoadCursorA
(
0
,
(
LPCSTR
)
IDC_ARROW
);
cls
.
hbrBackground
=
GetStockObject
(
WHITE_BRUSH
);
cls
.
hbrBackground
=
GetStockObject
(
WHITE_BRUSH
);
cls
.
lpszMenuName
=
NULL
;
cls
.
lpszMenuName
=
NULL
;
cls
.
lpszClassName
=
"TWAIN_dsm_class"
;
cls
.
lpszClassName
=
"TWAIN_dsm_class"
;
...
@@ -861,9 +861,8 @@ START_TEST(dsm)
...
@@ -861,9 +861,8 @@ START_TEST(dsm)
appid
.
ProtocolMinor
=
TWON_PROTOCOLMINOR
;
appid
.
ProtocolMinor
=
TWON_PROTOCOLMINOR
;
appid
.
SupportedGroups
=
DG_CONTROL
|
DG_IMAGE
;
appid
.
SupportedGroups
=
DG_CONTROL
|
DG_IMAGE
;
hwnd
=
CreateWindow
(
"TWAIN_dsm_class"
,
"Twain Test"
,
0
,
hwnd
=
CreateWindowA
(
"TWAIN_dsm_class"
,
"Twain Test"
,
0
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
NULL
,
NULL
,
GetModuleHandleA
(
NULL
),
NULL
);
NULL
,
NULL
,
GetModuleHandleA
(
0
),
NULL
);
rc
=
pDSM_Entry
(
&
appid
,
NULL
,
DG_CONTROL
,
DAT_PARENT
,
MSG_OPENDSM
,
(
TW_MEMREF
)
&
hwnd
);
rc
=
pDSM_Entry
(
&
appid
,
NULL
,
DG_CONTROL
,
DAT_PARENT
,
MSG_OPENDSM
,
(
TW_MEMREF
)
&
hwnd
);
ok
(
rc
==
TWRC_SUCCESS
,
"MSG_OPENDSM returned %d
\n
"
,
rc
);
ok
(
rc
==
TWRC_SUCCESS
,
"MSG_OPENDSM returned %d
\n
"
,
rc
);
...
...
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