From 47b609765d45c3d87e941f43b008413b5327d2dc Mon Sep 17 00:00:00 2001 From: dahall Date: Tue, 28 Jun 2022 14:56:10 -0600 Subject: [PATCH] Fixed WIN32_FIND_STREAM_DATA to expose cStreamName --- PInvoke/Kernel32/WinBase.File.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PInvoke/Kernel32/WinBase.File.cs b/PInvoke/Kernel32/WinBase.File.cs index 5af5121a..2ac8df8b 100644 --- a/PInvoke/Kernel32/WinBase.File.cs +++ b/PInvoke/Kernel32/WinBase.File.cs @@ -5103,7 +5103,8 @@ namespace Vanara.PInvoke /// /// The name of the stream. The string name format is ":streamname:$streamtype". /// - [MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_PATH + 36)] private readonly string cStreamName; + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_PATH + 36)] + public string cStreamName; } /// Represents a search handle used in a subsequent call to the FindNextVolumeMountPoint and retrieved by FindFirstVolumeMountPoint.