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
53271d95
Commit
53271d95
authored
Sep 03, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Don't reuse a function for different methods.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e84742ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
istream.c
dlls/shlwapi/istream.c
+15
-4
No files found.
dlls/shlwapi/istream.c
View file @
53271d95
...
...
@@ -274,9 +274,20 @@ static HRESULT WINAPI IStream_fnRevert(IStream *iface)
}
/**************************************************************************
* IStream_fnLock
Unlock
Region
* IStream_fnLockRegion
*/
static
HRESULT
WINAPI
IStream_fnLockUnlockRegion
(
IStream
*
iface
,
ULARGE_INTEGER
libOffset
,
static
HRESULT
WINAPI
IStream_fnLockRegion
(
IStream
*
iface
,
ULARGE_INTEGER
libOffset
,
ULARGE_INTEGER
cb
,
DWORD
dwLockType
)
{
ISHFileStream
*
This
=
impl_from_IStream
(
iface
);
TRACE
(
"(%p,%s,%s,%d)
\n
"
,
This
,
wine_dbgstr_longlong
(
libOffset
.
QuadPart
),
wine_dbgstr_longlong
(
cb
.
QuadPart
),
dwLockType
);
return
E_NOTIMPL
;
}
/**************************************************************************
* IStream_fnUnlockRegion
*/
static
HRESULT
WINAPI
IStream_fnUnlockRegion
(
IStream
*
iface
,
ULARGE_INTEGER
libOffset
,
ULARGE_INTEGER
cb
,
DWORD
dwLockType
)
{
ISHFileStream
*
This
=
impl_from_IStream
(
iface
);
...
...
@@ -345,8 +356,8 @@ static const IStreamVtbl SHLWAPI_fsVTable =
IStream_fnCopyTo
,
IStream_fnCommit
,
IStream_fnRevert
,
IStream_fnLock
Unlock
Region
,
IStream_fn
Lock
UnlockRegion
,
IStream_fnLockRegion
,
IStream_fnUnlockRegion
,
IStream_fnStat
,
IStream_fnClone
};
...
...
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