[PATCH v2 2/2] kernelbase: Implement GetFileInformationByHandleEx(FileAttributeTagInfo).

Zebediah Figura z.figura12 at gmail.com
Thu Sep 26 13:34:34 CDT 2019


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47813
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/kernelbase/file.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dlls/kernelbase/file.c b/dlls/kernelbase/file.c
index 3da50d2c95e..b0365f7b2db 100644
--- a/dlls/kernelbase/file.c
+++ b/dlls/kernelbase/file.c
@@ -1534,7 +1534,6 @@ BOOL WINAPI DECLSPEC_HOTPATCH GetFileInformationByHandleEx( HANDLE handle, FILE_
     {
     case FileStreamInfo:
     case FileCompressionInfo:
-    case FileAttributeTagInfo:
     case FileRemoteProtocolInfo:
     case FileFullDirectoryInfo:
     case FileFullDirectoryRestartInfo:
@@ -1546,6 +1545,10 @@ BOOL WINAPI DECLSPEC_HOTPATCH GetFileInformationByHandleEx( HANDLE handle, FILE_
         SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
         return FALSE;
 
+    case FileAttributeTagInfo:
+        status = NtQueryInformationFile( handle, &io, info, size, FileAttributeTagInformation );
+        break;
+
     case FileBasicInfo:
         status = NtQueryInformationFile( handle, &io, info, size, FileBasicInformation );
         break;
-- 
2.23.0




More information about the wine-devel mailing list