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
e00114c4
Commit
e00114c4
authored
Jul 03, 1999
by
Andreas Mohr
Committed by
Alexandre Julliard
Jul 03, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added UnlockFileEx stub.
parent
8f073279
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
file.c
files/file.c
+26
-0
kernel32.spec
relay32/kernel32.spec
+1
-1
No files found.
files/file.c
View file @
e00114c4
...
...
@@ -1960,6 +1960,32 @@ BOOL WINAPI UnlockFile( HFILE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHi
}
/**************************************************************************
* UnlockFileEx (KERNEL32.705)
*/
BOOL
WINAPI
UnlockFileEx
(
HFILE
hFile
,
DWORD
dwReserved
,
DWORD
nNumberOfBytesToUnlockLow
,
DWORD
nNumberOfBytesToUnlockHigh
,
LPOVERLAPPED
lpOverlapped
)
{
FIXME
(
file
,
"hFile=%d,reserved=%ld,lowbytes=%ld,highbytes=%ld,overlapped=%p: stub.
\n
"
,
hFile
,
dwReserved
,
nNumberOfBytesToUnlockLow
,
nNumberOfBytesToUnlockHigh
,
lpOverlapped
);
if
(
dwReserved
==
0
)
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
else
{
ERR
(
file
,
"reserved == %ld: Supposed to be 0??
\n
"
,
dwReserved
);
SetLastError
(
ERROR_INVALID_PARAMETER
);
}
return
FALSE
;
}
#if 0
struct DOS_FILE_LOCK {
...
...
relay32/kernel32.spec
View file @
e00114c4
...
...
@@ -721,7 +721,7 @@ import ntdll.dll
702 stdcall UnhandledExceptionFilter(ptr) UnhandledExceptionFilter
703 stdcall UninitializeCriticalSection(ptr) UninitializeCriticalSection
704 stdcall UnlockFile(long long long long long) UnlockFile
705 st
ub
UnlockFileEx
705 st
dcall UnlockFileEx(long long long long ptr)
UnlockFileEx
706 stdcall UnmapViewOfFile(ptr) UnmapViewOfFile
707 stdcall UpdateResourceA(long str str long ptr long) UpdateResourceA
708 stdcall UpdateResourceW(long wstr wstr long ptr long) UpdateResourceW
...
...
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