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
c019f535
Commit
c019f535
authored
Jan 02, 2003
by
Alberto Massari
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stub implementation for ReplaceFile.
parent
8aa4e4ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
kernel32.spec
dlls/kernel/kernel32.spec
+3
-3
file.c
files/file.c
+27
-0
No files found.
dlls/kernel/kernel32.spec
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) ReplaceFileW
@ 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
...
...
files/file.c
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
;
}
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