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
0eaa4335
Commit
0eaa4335
authored
Apr 23, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Register the file writer.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dc78a97c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
qcap_main.c
dlls/qcap/qcap_main.c
+23
-0
No files found.
dlls/qcap/qcap_main.c
View file @
0eaa4335
...
...
@@ -224,12 +224,32 @@ static const REGFILTER2 reg_smart_tee =
.
u
.
s2
.
rgPins2
=
reg_smart_tee_pins
,
};
static
const
REGPINTYPES
reg_file_writer_sink_mt
=
{
&
GUID_NULL
,
&
GUID_NULL
};
static
const
REGFILTERPINS2
reg_file_writer_pins
[
1
]
=
{
{
.
cInstances
=
1
,
.
nMediaTypes
=
1
,
.
lpMediaType
=
&
reg_file_writer_sink_mt
,
},
};
static
const
REGFILTER2
reg_file_writer
=
{
.
dwVersion
=
2
,
.
dwMerit
=
MERIT_DO_NOT_USE
,
.
u
.
s2
.
cPins2
=
1
,
.
u
.
s2
.
rgPins2
=
reg_file_writer_pins
,
};
/***********************************************************************
* DllRegisterServer (QCAP.@)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
static
const
WCHAR
avi_muxW
[]
=
{
'A'
,
'V'
,
'I'
,
' '
,
'M'
,
'u'
,
'x'
,
0
};
static
const
WCHAR
file_writerW
[]
=
{
'F'
,
'i'
,
'l'
,
'e'
,
' '
,
'w'
,
'r'
,
'i'
,
't'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
smart_teeW
[]
=
{
'S'
,
'm'
,
'a'
,
'r'
,
't'
,
' '
,
'T'
,
'e'
,
'e'
,
0
};
IFilterMapper2
*
mapper
;
HRESULT
hr
;
...
...
@@ -243,6 +263,8 @@ HRESULT WINAPI DllRegisterServer(void)
IFilterMapper2_RegisterFilter
(
mapper
,
&
CLSID_AviDest
,
avi_muxW
,
NULL
,
NULL
,
NULL
,
&
reg_avi_mux
);
IFilterMapper2_RegisterFilter
(
mapper
,
&
CLSID_FileWriter
,
file_writerW
,
NULL
,
NULL
,
NULL
,
&
reg_file_writer
);
IFilterMapper2_RegisterFilter
(
mapper
,
&
CLSID_SmartTee
,
smart_teeW
,
NULL
,
NULL
,
NULL
,
&
reg_smart_tee
);
...
...
@@ -266,6 +288,7 @@ HRESULT WINAPI DllUnregisterServer(void)
return
hr
;
IFilterMapper2_UnregisterFilter
(
mapper
,
NULL
,
NULL
,
&
CLSID_AviDest
);
IFilterMapper2_UnregisterFilter
(
mapper
,
NULL
,
NULL
,
&
CLSID_FileWriter
);
IFilterMapper2_UnregisterFilter
(
mapper
,
NULL
,
NULL
,
&
CLSID_SmartTee
);
IFilterMapper2_Release
(
mapper
);
...
...
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