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
6e49ff99
Commit
6e49ff99
authored
Jan 29, 2024
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Pass result as void pointer to ComponentInfo_GetUINTValue.
parent
fdd9e257
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
info.c
dlls/windowscodecs/info.c
+6
-6
No files found.
dlls/windowscodecs/info.c
View file @
6e49ff99
...
...
@@ -101,7 +101,7 @@ static HRESULT ComponentInfo_GetGUIDValue(HKEY classkey, LPCWSTR value,
}
static
HRESULT
ComponentInfo_GetUINTValue
(
HKEY
classkey
,
LPCWSTR
value
,
UINT
*
result
)
void
*
result
)
{
LONG
ret
;
DWORD
cbdata
=
sizeof
(
DWORD
);
...
...
@@ -110,11 +110,11 @@ static HRESULT ComponentInfo_GetUINTValue(HKEY classkey, LPCWSTR value,
return
E_INVALIDARG
;
ret
=
RegGetValueW
(
classkey
,
NULL
,
value
,
RRF_RT_DWORD
,
NULL
,
(
DWORD
*
)
result
,
&
cbdata
);
result
,
&
cbdata
);
if
(
ret
==
ERROR_FILE_NOT_FOUND
)
{
*
result
=
0
;
*
(
UINT
*
)
result
=
0
;
return
S_OK
;
}
...
...
@@ -1413,7 +1413,7 @@ static HRESULT WINAPI PixelFormatInfo_SupportsTransparency(IWICPixelFormatInfo2
TRACE
(
"(%p,%p)
\n
"
,
iface
,
pfSupportsTransparency
);
return
ComponentInfo_GetUINTValue
(
This
->
classkey
,
L"SupportsTransparency"
,
(
UINT
*
)
pfSupportsTransparency
);
return
ComponentInfo_GetUINTValue
(
This
->
classkey
,
L"SupportsTransparency"
,
pfSupportsTransparency
);
}
static
HRESULT
WINAPI
PixelFormatInfo_GetNumericRepresentation
(
IWICPixelFormatInfo2
*
iface
,
...
...
@@ -1682,7 +1682,7 @@ static HRESULT WINAPI MetadataReaderInfo_DoesRequireFullStream(IWICMetadataReade
{
MetadataReaderInfo
*
This
=
impl_from_IWICMetadataReaderInfo
(
iface
);
TRACE
(
"(%p,%p)
\n
"
,
iface
,
param
);
return
ComponentInfo_GetUINTValue
(
This
->
classkey
,
L"RequiresFullStream"
,
(
UINT
*
)
param
);
return
ComponentInfo_GetUINTValue
(
This
->
classkey
,
L"RequiresFullStream"
,
param
);
}
static
HRESULT
WINAPI
MetadataReaderInfo_DoesSupportPadding
(
IWICMetadataReaderInfo
*
iface
,
...
...
@@ -1690,7 +1690,7 @@ static HRESULT WINAPI MetadataReaderInfo_DoesSupportPadding(IWICMetadataReaderIn
{
MetadataReaderInfo
*
This
=
impl_from_IWICMetadataReaderInfo
(
iface
);
TRACE
(
"(%p,%p)
\n
"
,
iface
,
param
);
return
ComponentInfo_GetUINTValue
(
This
->
classkey
,
L"SupportsPadding"
,
(
UINT
*
)
param
);
return
ComponentInfo_GetUINTValue
(
This
->
classkey
,
L"SupportsPadding"
,
param
);
}
static
HRESULT
WINAPI
MetadataReaderInfo_DoesRequireFixedSize
(
IWICMetadataReaderInfo
*
iface
,
...
...
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