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
136dc1fc
Commit
136dc1fc
authored
May 17, 2009
by
Vitaliy Margolen
Committed by
Alexandre Julliard
May 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiagn: Correct version format property.
parent
b3375a3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
provider.c
dlls/dxdiagn/provider.c
+6
-1
No files found.
dlls/dxdiagn/provider.c
View file @
136dc1fc
...
@@ -597,6 +597,7 @@ struct REG_TYPE {
...
@@ -597,6 +597,7 @@ struct REG_TYPE {
static
HRESULT
DXDiag_InitDXDiagDirectShowFiltersContainer
(
IDxDiagContainer
*
pSubCont
)
{
static
HRESULT
DXDiag_InitDXDiagDirectShowFiltersContainer
(
IDxDiagContainer
*
pSubCont
)
{
HRESULT
hr
=
S_OK
;
HRESULT
hr
=
S_OK
;
static
const
WCHAR
szName
[]
=
{
's'
,
'z'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szName
[]
=
{
's'
,
'z'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szVersionW
[]
=
{
's'
,
'z'
,
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szCatName
[]
=
{
's'
,
'z'
,
'C'
,
'a'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szCatName
[]
=
{
's'
,
'z'
,
'C'
,
'a'
,
't'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
ClsidCatW
[]
=
{
'C'
,
'l'
,
's'
,
'i'
,
'd'
,
'C'
,
'a'
,
't'
,
0
};
static
const
WCHAR
ClsidCatW
[]
=
{
'C'
,
'l'
,
's'
,
'i'
,
'd'
,
'C'
,
'a'
,
't'
,
0
};
static
const
WCHAR
ClsidFilterW
[]
=
{
'C'
,
'l'
,
's'
,
'i'
,
'd'
,
'F'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
ClsidFilterW
[]
=
{
'C'
,
'l'
,
's'
,
'i'
,
'd'
,
'F'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
0
};
...
@@ -614,6 +615,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu
...
@@ -614,6 +615,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu
static
const
WCHAR
wszFilterDataName
[]
=
{
'F'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
'D'
,
'a'
,
't'
,
'a'
,
0
};
static
const
WCHAR
wszFilterDataName
[]
=
{
'F'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
'D'
,
'a'
,
't'
,
'a'
,
0
};
/*static const WCHAR wszMeritName[] = {'M','e','r','i','t',0};*/
/*static const WCHAR wszMeritName[] = {'M','e','r','i','t',0};*/
static
const
WCHAR
szVersionFormat
[]
=
{
'v'
,
'%'
,
'd'
,
0
};
ICreateDevEnum
*
pCreateDevEnum
=
NULL
;
ICreateDevEnum
*
pCreateDevEnum
=
NULL
;
IEnumMoniker
*
pEmCat
=
NULL
;
IEnumMoniker
*
pEmCat
=
NULL
;
IMoniker
*
pMCat
=
NULL
;
IMoniker
*
pMCat
=
NULL
;
...
@@ -672,6 +675,7 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu
...
@@ -672,6 +675,7 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu
DWORD
it
;
DWORD
it
;
DWORD
dwNOutputs
=
0
;
DWORD
dwNOutputs
=
0
;
DWORD
dwNInputs
=
0
;
DWORD
dwNInputs
=
0
;
WCHAR
bufferW
[
10
];
add_prop_str
(
pSubCont
,
szCatName
,
wszCatName
);
add_prop_str
(
pSubCont
,
szCatName
,
wszCatName
);
add_prop_str
(
pSubCont
,
ClsidCatW
,
wszCatClsid
);
add_prop_str
(
pSubCont
,
ClsidCatW
,
wszCatClsid
);
...
@@ -691,7 +695,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu
...
@@ -691,7 +695,8 @@ static HRESULT DXDiag_InitDXDiagDirectShowFiltersContainer(IDxDiagContainer* pSu
prrf
=
(
struct
REG_RF
*
)
pData
;
prrf
=
(
struct
REG_RF
*
)
pData
;
pCurrent
=
pData
;
pCurrent
=
pData
;
add_prop_ui4
(
pSubCont
,
szName
,
prrf
->
dwVersion
);
snprintfW
(
bufferW
,
sizeof
(
bufferW
)
/
sizeof
(
bufferW
[
0
]),
szVersionFormat
,
prrf
->
dwVersion
);
add_prop_str
(
pSubCont
,
szVersionW
,
bufferW
);
add_prop_ui4
(
pSubCont
,
dwMerit
,
prrf
->
dwMerit
);
add_prop_ui4
(
pSubCont
,
dwMerit
,
prrf
->
dwMerit
);
pCurrent
+=
sizeof
(
struct
REG_RF
);
pCurrent
+=
sizeof
(
struct
REG_RF
);
...
...
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