mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-19 11:53:02 +12:00
[BUG] Fix datatype for SHGetFileInfo preventing stack corruption
This commit is contained in:
parent
808ab532c9
commit
5bb592c066
|
@ -37,7 +37,7 @@ namespace SystemTrayMenu.DllImports
|
|||
uint cbFileInfo,
|
||||
uint uFlags);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
internal struct SHFILEINFO
|
||||
{
|
||||
public const int NAMESIZE = 80;
|
||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.16.2")]
|
||||
[assembly: AssemblyFileVersion("1.0.16.2")]
|
||||
[assembly: AssemblyVersion("1.0.16.3")]
|
||||
[assembly: AssemblyFileVersion("1.0.16.3")]
|
||||
|
|
Loading…
Reference in a new issue