mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-05-14 09:23:17 +12:00
use Unicode for SHGetFileInfo
fixes #14 https://github.com/Hofknecht/SystemTrayMenu/issues/14
This commit is contained in:
parent
a5aee52858
commit
a8aebe16e2
|
@ -255,7 +255,7 @@ namespace SystemTrayMenu.Helper
|
|||
|
||||
public const int ILD_TRANSPARENT = 0x00000001;
|
||||
|
||||
[DllImport("Shell32.dll")]
|
||||
[DllImport("Shell32.dll", CharSet = CharSet.Unicode)]
|
||||
public static extern IntPtr SHGetFileInfo(
|
||||
string pszPath,
|
||||
uint dwFileAttributes,
|
||||
|
|
|
@ -31,5 +31,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("0.9.1.239")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.239")]
|
||||
[assembly: AssemblyVersion("0.9.1.240")]
|
||||
[assembly: AssemblyFileVersion("0.9.1.240")]
|
||||
|
|
Loading…
Reference in a new issue