2021-07-04 01:41:15 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sheng.Winform.Controls.Win32
|
|
|
|
|
|
{
|
2021-07-29 09:09:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2021-07-04 01:41:15 +00:00
|
|
|
|
public static class Shell32
|
|
|
|
|
|
{
|
2021-07-29 09:09:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2021-07-04 01:41:15 +00:00
|
|
|
|
public const int SHCNE_ASSOCCHANGED = 0x08000000;
|
2021-07-29 09:09:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2021-07-04 01:41:15 +00:00
|
|
|
|
public const int SHCNF_IDLIST = 0x0;
|
2021-07-29 09:09:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="wEventId"></param>
|
|
|
|
|
|
/// <param name="uFlags"></param>
|
|
|
|
|
|
/// <param name="dwItem1"></param>
|
|
|
|
|
|
/// <param name="dwItem2"></param>
|
2021-07-04 01:41:15 +00:00
|
|
|
|
[DllImport("shell32.dll")]
|
|
|
|
|
|
public static extern void SHChangeNotify(int wEventId, int uFlags, IntPtr dwItem1, IntPtr dwItem2);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|