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
892c31e4
Commit
892c31e4
authored
Mar 29, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 31, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Assign to structs instead of using CopyMemory.
parent
65dd1578
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
enumpins.c
dlls/quartz/enumpins.c
+1
-1
filesource.c
dlls/quartz/filesource.c
+2
-2
No files found.
dlls/quartz/enumpins.c
View file @
892c31e4
...
@@ -45,7 +45,7 @@ HRESULT IEnumPinsImpl_Construct(const ENUMPINDETAILS * pDetails, IEnumPins ** pp
...
@@ -45,7 +45,7 @@ HRESULT IEnumPinsImpl_Construct(const ENUMPINDETAILS * pDetails, IEnumPins ** pp
pEnumPins
->
lpVtbl
=
&
IEnumPinsImpl_Vtbl
;
pEnumPins
->
lpVtbl
=
&
IEnumPinsImpl_Vtbl
;
pEnumPins
->
refCount
=
1
;
pEnumPins
->
refCount
=
1
;
pEnumPins
->
uIndex
=
0
;
pEnumPins
->
uIndex
=
0
;
CopyMemory
(
&
pEnumPins
->
enumPinDetails
,
pDetails
,
sizeof
(
ENUMPINDETAILS
))
;
pEnumPins
->
enumPinDetails
=
*
pDetails
;
*
ppEnum
=
(
IEnumPins
*
)(
&
pEnumPins
->
lpVtbl
);
*
ppEnum
=
(
IEnumPins
*
)(
&
pEnumPins
->
lpVtbl
);
TRACE
(
"Created new enumerator (%p)
\n
"
,
*
ppEnum
);
TRACE
(
"Created new enumerator (%p)
\n
"
,
*
ppEnum
);
...
...
dlls/quartz/filesource.c
View file @
892c31e4
...
@@ -237,8 +237,8 @@ static HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName,
...
@@ -237,8 +237,8 @@ static HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName,
TRACE
(
"(%p, %s, %p, %p)
\n
"
,
pReader
,
debugstr_w
(
pszFileName
),
majorType
,
minorType
);
TRACE
(
"(%p, %s, %p, %p)
\n
"
,
pReader
,
debugstr_w
(
pszFileName
),
majorType
,
minorType
);
CopyMemory
(
majorType
,
&
GUID_NULL
,
sizeof
(
*
majorType
))
;
*
majorType
=
GUID_NULL
;
CopyMemory
(
minorType
,
&
GUID_NULL
,
sizeof
(
*
minorType
))
;
*
minorType
=
GUID_NULL
;
lRet
=
RegOpenKeyExW
(
HKEY_CLASSES_ROOT
,
wszMediaType
,
0
,
KEY_READ
,
&
hkeyMediaType
);
lRet
=
RegOpenKeyExW
(
HKEY_CLASSES_ROOT
,
wszMediaType
,
0
,
KEY_READ
,
&
hkeyMediaType
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
...
...
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