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
e7bcc119
Commit
e7bcc119
authored
Jul 05, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Use the more common ARRAY_SIZE spelling.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1105d0ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
filtermapper.c
dlls/quartz/filtermapper.c
+5
-7
No files found.
dlls/quartz/filtermapper.c
View file @
e7bcc119
...
...
@@ -43,8 +43,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
quartz
);
#define ARRAYSIZE(array) (sizeof(array)/sizeof((array)[0]))
typedef
struct
FilterMapper3Impl
{
IUnknown
IUnknown_inner
;
...
...
@@ -264,7 +262,7 @@ static HRESULT WINAPI FilterMapper3_CreateCategory(
{
LPWSTR
wClsidAMCat
=
NULL
;
LPWSTR
wClsidCategory
=
NULL
;
WCHAR
wszKeyName
[
ARRAY
SIZE
(
wszClsidSlash
)
-
1
+
ARRAY
SIZE
(
wszSlashInstance
)
-
1
+
(
CHARS_IN_GUID
-
1
)
*
2
+
1
];
WCHAR
wszKeyName
[
ARRAY
_SIZE
(
wszClsidSlash
)
-
1
+
ARRAY_
SIZE
(
wszSlashInstance
)
-
1
+
(
CHARS_IN_GUID
-
1
)
*
2
+
1
];
HKEY
hKey
=
NULL
;
LONG
lRet
;
HRESULT
hr
;
...
...
@@ -1268,7 +1266,7 @@ static HRESULT WINAPI FilterMapper_RegisterFilter(IFilterMapper * iface, CLSID c
LPWSTR
wszClsid
=
NULL
;
HKEY
hKey
;
LONG
lRet
;
WCHAR
wszKeyName
[
ARRAYSIZE
(
wszFilterSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
WCHAR
wszKeyName
[
ARRAY
_
SIZE
(
wszFilterSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
TRACE
(
"(%p)->(%s, %s, %x)
\n
"
,
iface
,
debugstr_guid
(
&
clsid
),
debugstr_w
(
szName
),
dwMerit
);
...
...
@@ -1337,7 +1335,7 @@ static HRESULT WINAPI FilterMapper_RegisterPin(
HKEY
hKey
=
NULL
;
HKEY
hPinsKey
=
NULL
;
WCHAR
*
wszPinsKeyName
;
WCHAR
wszKeyName
[
ARRAYSIZE
(
wszClsidSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
WCHAR
wszKeyName
[
ARRAY
_
SIZE
(
wszClsidSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
TRACE
(
"(%p)->(%s, %s, %d, %d, %d, %d, %s, %s)
\n
"
,
iface
,
debugstr_guid
(
&
Filter
),
debugstr_w
(
szName
),
bRendered
,
bOutput
,
bZero
,
bMany
,
debugstr_guid
(
&
ConnectsToFilter
),
debugstr_w
(
ConnectsToPin
));
...
...
@@ -1498,7 +1496,7 @@ static HRESULT WINAPI FilterMapper_UnregisterFilter(IFilterMapper * iface, CLSID
LONG
lRet
;
LPWSTR
wszClsid
=
NULL
;
HKEY
hKey
;
WCHAR
wszKeyName
[
ARRAYSIZE
(
wszClsidSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
WCHAR
wszKeyName
[
ARRAY
_
SIZE
(
wszClsidSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
TRACE
(
"(%p)->(%s)
\n
"
,
iface
,
debugstr_guid
(
&
Filter
));
...
...
@@ -1563,7 +1561,7 @@ static HRESULT WINAPI FilterMapper_UnregisterPin(IFilterMapper * iface, CLSID Fi
LPWSTR
wszClsid
=
NULL
;
HKEY
hKey
=
NULL
;
WCHAR
*
wszPinNameKey
;
WCHAR
wszKeyName
[
ARRAYSIZE
(
wszClsidSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
WCHAR
wszKeyName
[
ARRAY
_
SIZE
(
wszClsidSlash
)
-
1
+
(
CHARS_IN_GUID
-
1
)
+
1
];
TRACE
(
"(%p)->(%s, %s)
\n
"
,
iface
,
debugstr_guid
(
&
Filter
),
debugstr_w
(
Name
));
...
...
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