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
16377936
Commit
16377936
authored
Oct 07, 2002
by
Stefan Leichter
Committed by
Alexandre Julliard
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stubs for capCreateCaptureWindowA/W to get freeVCR started
without crash.
parent
3ac601d5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
2 deletions
+43
-2
Makefile.in
dlls/avicap32/Makefile.in
+1
-0
avicap32.spec
dlls/avicap32/avicap32.spec
+2
-2
avicap32_main.c
dlls/avicap32/avicap32_main.c
+40
-0
No files found.
dlls/avicap32/Makefile.in
View file @
16377936
...
...
@@ -3,6 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
avicap32.dll
IMPORTS
=
ntdll
LDDLLFLAGS
=
@LDDLLFLAGS@
SYMBOLFILE
=
$(MODULE)
.tmp.o
...
...
dlls/avicap32/avicap32.spec
View file @
16377936
@ st
ub
capCreateCaptureWindowA
@ st
ub
capCreateCaptureWindowW
@ st
dcall capCreateCaptureWindowA(str long long long long ptr long)
capCreateCaptureWindowA
@ st
dcall capCreateCaptureWindowW(wstr long long long long ptr long)
capCreateCaptureWindowW
@ stdcall capGetDriverDescriptionA(long ptr long ptr long) capGetDriverDescriptionA
@ stdcall capGetDriverDescriptionW(long ptr long ptr long) capGetDriverDescriptionW
dlls/avicap32/avicap32_main.c
View file @
16377936
...
...
@@ -17,10 +17,47 @@
*/
#include "vfw.h"
#include "winternl.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
avicap
);
/***********************************************************************
* capCreateCaptureWindowW (AVICAP32.@)
*/
HWND
VFWAPI
capCreateCaptureWindowW
(
LPCWSTR
lpszWindowName
,
DWORD
dwStyle
,
INT
x
,
INT
y
,
INT
nWidth
,
INT
nHeight
,
HWND
hWnd
,
INT
nID
)
{
FIXME
(
"%s, %08lx, %08x, %08x, %08x, %08x, %x, %08x
\n
"
,
debugstr_w
(
lpszWindowName
),
dwStyle
,
x
,
y
,
nWidth
,
nHeight
,
hWnd
,
nID
);
return
0
;
}
/***********************************************************************
* capCreateCaptureWindowA (AVICAP32.@)
*/
HWND
VFWAPI
capCreateCaptureWindowA
(
LPCSTR
lpszWindowName
,
DWORD
dwStyle
,
INT
x
,
INT
y
,
INT
nWidth
,
INT
nHeight
,
HWND
hWnd
,
INT
nID
)
{
UNICODE_STRING
nameW
;
HWND
retW
;
if
(
lpszWindowName
)
RtlCreateUnicodeStringFromAsciiz
(
&
nameW
,
lpszWindowName
);
else
nameW
.
Buffer
=
NULL
;
retW
=
capCreateCaptureWindowW
(
nameW
.
Buffer
,
dwStyle
,
x
,
y
,
nWidth
,
nHeight
,
hWnd
,
nID
);
RtlFreeUnicodeString
(
&
nameW
);
return
retW
;
}
/***********************************************************************
* capGetDriverDescriptionA (AVICAP32.@)
*/
BOOL
VFWAPI
capGetDriverDescriptionA
(
WORD
wDriverIndex
,
LPSTR
lpszName
,
INT
cbName
,
LPSTR
lpszVer
,
INT
cbVer
)
{
...
...
@@ -29,6 +66,9 @@ BOOL VFWAPI capGetDriverDescriptionA(WORD wDriverIndex, LPSTR lpszName,
return
FALSE
;
}
/***********************************************************************
* capGetDriverDescriptionW (AVICAP32.@)
*/
BOOL
VFWAPI
capGetDriverDescriptionW
(
WORD
wDriverIndex
,
LPWSTR
lpszName
,
INT
cbName
,
LPWSTR
lpszVer
,
INT
cbVer
)
{
...
...
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