Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
e00114c4
Commit
e00114c4
authored
25 years ago
by
Andreas Mohr
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added UnlockFileEx stub.
parent
8f073279
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files/file.c
+26
-0
26 additions, 0 deletions
files/file.c
relay32/kernel32.spec
+1
-1
1 addition, 1 deletion
relay32/kernel32.spec
with
27 additions
and
1 deletion
files/file.c
+
26
−
0
View file @
e00114c4
...
@@ -1960,6 +1960,32 @@ BOOL WINAPI UnlockFile( HFILE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHi
...
@@ -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
#if 0
struct DOS_FILE_LOCK {
struct DOS_FILE_LOCK {
...
...
This diff is collapsed.
Click to expand it.
relay32/kernel32.spec
+
1
−
1
View file @
e00114c4
...
@@ -721,7 +721,7 @@ import ntdll.dll
...
@@ -721,7 +721,7 @@ import ntdll.dll
702 stdcall UnhandledExceptionFilter(ptr) UnhandledExceptionFilter
702 stdcall UnhandledExceptionFilter(ptr) UnhandledExceptionFilter
703 stdcall UninitializeCriticalSection(ptr) UninitializeCriticalSection
703 stdcall UninitializeCriticalSection(ptr) UninitializeCriticalSection
704 stdcall UnlockFile(long long long long long) UnlockFile
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
706 stdcall UnmapViewOfFile(ptr) UnmapViewOfFile
707 stdcall UpdateResourceA(long str str long ptr long) UpdateResourceA
707 stdcall UpdateResourceA(long str str long ptr long) UpdateResourceA
708 stdcall UpdateResourceW(long wstr wstr long ptr long) UpdateResourceW
708 stdcall UpdateResourceW(long wstr wstr long ptr long) UpdateResourceW
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment