You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-04-13 14:42:51 -07:00
Added patch with stub for kernel32.SetFileCompletionNotificationModes (for Steam in Win7 mode).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From f13e94038f8a3c59dd184013b747cc31ef4b6f9a Mon Sep 17 00:00:00 2001
|
||||
From 10d1d2f0b8cdb956ef4d8df5386a446c97451b19 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 26 Feb 2015 06:08:58 +0100
|
||||
Subject: kernel32: Implement SetFileInformationByHandle.
|
||||
@@ -9,7 +9,7 @@ Subject: kernel32: Implement SetFileInformationByHandle.
|
||||
2 files changed, 102 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c
|
||||
index 006db1c..ffecef3 100644
|
||||
index 4695c9c..bfb2a81 100644
|
||||
--- a/dlls/kernel32/file.c
|
||||
+++ b/dlls/kernel32/file.c
|
||||
@@ -48,6 +48,22 @@
|
||||
@@ -35,7 +35,7 @@ index 006db1c..ffecef3 100644
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(file);
|
||||
|
||||
/* info structure for FindFirstFile handle */
|
||||
@@ -1039,7 +1055,91 @@ BOOL WINAPI SetEndOfFile( HANDLE hFile )
|
||||
@@ -1051,7 +1067,91 @@ BOOL WINAPI SetFileCompletionNotificationModes( HANDLE file, UCHAR flags )
|
||||
|
||||
BOOL WINAPI SetFileInformationByHandle( HANDLE file, FILE_INFO_BY_HANDLE_CLASS class, VOID *info, DWORD size )
|
||||
{
|
||||
@@ -129,17 +129,17 @@ index 006db1c..ffecef3 100644
|
||||
}
|
||||
|
||||
diff --git a/include/winbase.h b/include/winbase.h
|
||||
index 2b6df8d..a4c5408 100644
|
||||
index 6e6da9b..0d20107 100644
|
||||
--- a/include/winbase.h
|
||||
+++ b/include/winbase.h
|
||||
@@ -2447,6 +2447,7 @@ WINBASEAPI VOID WINAPI SetFileApisToOEM(void);
|
||||
WINBASEAPI BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
|
||||
@@ -2466,6 +2466,7 @@ WINBASEAPI BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
|
||||
WINBASEAPI BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
|
||||
#define SetFileAttributes WINELIB_NAME_AW(SetFileAttributes)
|
||||
WINBASEAPI BOOL WINAPI SetFileCompletionNotificationModes(HANDLE,UCHAR);
|
||||
+WINBASEAPI BOOL WINAPI SetFileInformationByHandle(HANDLE,FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD);
|
||||
WINBASEAPI DWORD WINAPI SetFilePointer(HANDLE,LONG,LPLONG,DWORD);
|
||||
WINBASEAPI BOOL WINAPI SetFilePointerEx(HANDLE,LARGE_INTEGER,LARGE_INTEGER*,DWORD);
|
||||
WINADVAPI BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
|
||||
--
|
||||
2.3.0
|
||||
2.4.0
|
||||
|
||||
|
@@ -1 +1,2 @@
|
||||
Fixes: Implement SetFileInformationByHandle
|
||||
Depends: kernel32-SetFileCompletionNotificationMode
|
||||
|
Reference in New Issue
Block a user