#63: Fixed issue with string marshalling when loading icons for file system dialog.
This commit is contained in:
parent
30c9c244f0
commit
138e77f9c1
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ namespace SafeExamBrowser.UserInterface.Shared.Utilities
|
|||
[DllImport("user32.dll")]
|
||||
private static extern int DestroyIcon(IntPtr hIcon);
|
||||
|
||||
[DllImport("shell32.dll")]
|
||||
[DllImport("shell32.dll", CharSet = CharSet.Unicode)]
|
||||
private static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
|
|
Loading…
Reference in a new issue