Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c55079fe
Commit
c55079fe
authored
Feb 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avicap32: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8d89a36d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/avicap32/Makefile.in
+0
-1
avicap32_main.c
dlls/avicap32/avicap32_main.c
+3
-3
No files found.
dlls/avicap32/Makefile.in
View file @
c55079fe
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
avicap32.dll
UNIXLIB
=
avicap32.so
IMPORTLIB
=
avicap32
...
...
dlls/avicap32/avicap32_main.c
View file @
c55079fe
...
...
@@ -59,13 +59,13 @@ static void register_class(void)
};
if
(
!
RegisterClassExW
(
&
class
)
&&
GetLastError
()
!=
ERROR_CLASS_ALREADY_EXISTS
)
ERR
(
"Failed to register class, error %u.
\n
"
,
GetLastError
());
ERR
(
"Failed to register class, error %
l
u.
\n
"
,
GetLastError
());
}
static
void
unregister_class
(
void
)
{
if
(
!
UnregisterClassW
(
class_name
,
avicap_instance
)
&&
GetLastError
()
!=
ERROR_CLASS_DOES_NOT_EXIST
)
ERR
(
"Failed to unregister class, error %u.
\n
"
,
GetLastError
());
ERR
(
"Failed to unregister class, error %
l
u.
\n
"
,
GetLastError
());
}
/***********************************************************************
...
...
@@ -74,7 +74,7 @@ static void unregister_class(void)
HWND
VFWAPI
capCreateCaptureWindowW
(
const
WCHAR
*
window_name
,
DWORD
style
,
int
x
,
int
y
,
int
width
,
int
height
,
HWND
parent
,
int
id
)
{
TRACE
(
"window_name %s, style %#x, x %d, y %d, width %d, height %d, parent %p, id %#x.
\n
"
,
TRACE
(
"window_name %s, style %#
l
x, x %d, y %d, width %d, height %d, parent %p, id %#x.
\n
"
,
debugstr_w
(
window_name
),
style
,
x
,
y
,
width
,
height
,
parent
,
id
);
return
CreateWindowW
(
class_name
,
window_name
,
style
,
x
,
y
,
width
,
height
,
parent
,
NULL
,
avicap_instance
,
NULL
);
...
...
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