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
c019f535
Commit
c019f535
authored
22 years ago
by
Alberto Massari
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add stub implementation for ReplaceFile.
parent
8aa4e4ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/kernel/kernel32.spec
+3
-3
3 additions, 3 deletions
dlls/kernel/kernel32.spec
files/file.c
+27
-0
27 additions, 0 deletions
files/file.c
with
30 additions
and
3 deletions
dlls/kernel/kernel32.spec
+
3
−
3
View file @
c019f535
...
...
@@ -685,9 +685,9 @@
@ stdcall ReinitializeCriticalSection(ptr) ReinitializeCriticalSection
@ stdcall ReleaseMutex(long) ReleaseMutex
@ stdcall ReleaseSemaphore(long long ptr) ReleaseSemaphore
@ st
ub
ReplaceFile
@ st
ub
ReplaceFileA
@ st
ub
ReplaceFileW
@ st
dcall ReplaceFile(wstr wstr wstr long ptr ptr)
ReplaceFile
W
@ st
dcall ReplaceFileA(str str str long ptr ptr)
ReplaceFileA
@ st
dcall ReplaceFileW(wstr wstr wstr long ptr ptr)
ReplaceFileW
@ stdcall RemoveDirectoryA(str) RemoveDirectoryA
@ stdcall RemoveDirectoryW(wstr) RemoveDirectoryW
@ stub RequestDeviceWakeup
...
...
This diff is collapsed.
Click to expand it.
files/file.c
+
27
−
0
View file @
c019f535
...
...
@@ -3409,3 +3409,30 @@ BOOL WINAPI GetFileAttributesExA(
SetLastError
(
ERROR_NOT_ENOUGH_MEMORY
);
return
ret
;
}
/**************************************************************************
* ReplaceFileW (KERNEL32.@)
* ReplaceFile (KERNEL32.@)
*/
BOOL
WINAPI
ReplaceFileW
(
LPCWSTR
lpReplacedFileName
,
LPCWSTR
lpReplacementFileName
,
LPCWSTR
lpBackupFileName
,
DWORD
dwReplaceFlags
,
LPVOID
lpExclude
,
LPVOID
lpReserved
)
{
FIXME
(
"(%s,%s,%s,%08lx,%p,%p) stub
\n
"
,
debugstr_w
(
lpReplacedFileName
),
debugstr_w
(
lpReplacementFileName
),
debugstr_w
(
lpBackupFileName
),
dwReplaceFlags
,
lpExclude
,
lpReserved
);
SetLastError
(
ERROR_UNABLE_TO_MOVE_REPLACEMENT
);
return
FALSE
;
}
/**************************************************************************
* ReplaceFileA (KERNEL32.@)
*/
BOOL
WINAPI
ReplaceFileA
(
LPCSTR
lpReplacedFileName
,
LPCSTR
lpReplacementFileName
,
LPCSTR
lpBackupFileName
,
DWORD
dwReplaceFlags
,
LPVOID
lpExclude
,
LPVOID
lpReserved
)
{
FIXME
(
"(%s,%s,%s,%08lx,%p,%p) stub
\n
"
,
lpReplacedFileName
,
lpReplacementFileName
,
lpBackupFileName
,
dwReplaceFlags
,
lpExclude
,
lpReserved
);
SetLastError
(
ERROR_UNABLE_TO_MOVE_REPLACEMENT
);
return
FALSE
;
}
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