mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Code quality changes for stability and reduced memory usage.
This commit is contained in:
parent
eb042dca58
commit
08216b09c0
21 changed files with 342 additions and 316 deletions
|
@ -29,9 +29,9 @@ namespace GreenshotPlugin.UnmanagedHelpers {
|
|||
/// Description of Shell32.
|
||||
/// </summary>
|
||||
public static class Shell32 {
|
||||
[DllImport("shell32")]
|
||||
[DllImport("shell32", CharSet = CharSet.Unicode)]
|
||||
public static extern int ExtractIconEx(string sFile, int iIndex, out IntPtr piLargeVersion, out IntPtr piSmallVersion, int amountIcons);
|
||||
[DllImport("shell32", CharSet = CharSet.Auto)]
|
||||
[DllImport("shell32", CharSet = CharSet.Unicode)]
|
||||
internal static extern IntPtr ExtractAssociatedIcon(HandleRef hInst, StringBuilder iconPath, ref int index);
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue