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
e0dd29ff
Commit
e0dd29ff
authored
Jul 12, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmloader: Use nameless unions/structs.
parent
68239c3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
loaderstream.c
dlls/dmloader/loaderstream.c
+3
-5
No files found.
dlls/dmloader/loaderstream.c
View file @
e0dd29ff
...
...
@@ -44,8 +44,6 @@
* - Rok Mandeljc; 24. April, 2004
*/
#define NONAMELESSUNION
#include "dmloader_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmloader
);
...
...
@@ -149,10 +147,10 @@ static HRESULT WINAPI IDirectMusicLoaderFileStream_IStream_Seek (LPSTREAM iface,
if
(
This
->
hFile
==
INVALID_HANDLE_VALUE
)
return
E_FAIL
;
liNewPos
.
u
.
HighPart
=
dlibMove
.
u
.
HighPart
;
liNewPos
.
u
.
LowPart
=
SetFilePointer
(
This
->
hFile
,
dlibMove
.
u
.
LowPart
,
&
liNewPos
.
u
.
HighPart
,
dwOrigin
);
liNewPos
.
HighPart
=
dlibMove
.
HighPart
;
liNewPos
.
LowPart
=
SetFilePointer
(
This
->
hFile
,
dlibMove
.
LowPart
,
&
liNewPos
.
HighPart
,
dwOrigin
);
if
(
liNewPos
.
u
.
LowPart
==
INVALID_SET_FILE_POINTER
&&
GetLastError
()
!=
NO_ERROR
)
return
E_FAIL
;
if
(
liNewPos
.
LowPart
==
INVALID_SET_FILE_POINTER
&&
GetLastError
()
!=
NO_ERROR
)
return
E_FAIL
;
if
(
plibNewPosition
)
plibNewPosition
->
QuadPart
=
liNewPos
.
QuadPart
;
return
S_OK
;
...
...
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