60 result._dwFlags = FlashFlags.CaptionAndTray |
FlashFlags.UntilFocused;
62 result._dwTimeout = 0u;
73 result._dwTimeout = 0u;
134 [DllImport(
"user32.dll")]
152 [DllImport(
"user32.dll")]
156 [DllImport(
"gdi32.dll")]
168 sHFILEOPSTRUCT.pFrom = path +
"\0\0";
169 sHFILEOPSTRUCT.fFlags = FileOperationFlags.FOF_ALLOWUNDO | flags;
180 private static bool Send(
string path)
196 sHFILEOPSTRUCT.pFrom = path +
"\0\0";
197 sHFILEOPSTRUCT.fFlags = flags;
213 [DllImport(
"kernel32.dll")]
216 [DllImport(
"user32.dll")]
static bool GetConsoleMode(IntPtr hConsoleHandle, out ConsoleMode lpMode)
static IntPtr DefWindowProc(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam)
static IntPtr GetDC(IntPtr hWnd)
static int GetDeviceCaps(IntPtr hdc, DeviceCap nIndex)
static IntPtr GetConsoleWindow()
static IntPtr GetStdHandle(StdHandleType nStdHandle)
static IntPtr GetForegroundWindow()
static bool SetConsoleMode(IntPtr hConsoleHandle, ConsoleMode dwMode)
static void HideConsole()
delegate IntPtr WndProcCallback(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam)
static bool TranslateMessage(ref Message message)
static bool DeleteFile(string path, FileOperationFlags flags)
static bool Send(string path)
static bool DeleteCompletelySilent(string path)
static bool Send(string path, FileOperationFlags flags)
static bool MoveToRecycleBin(string path)
static bool ShowWindow(IntPtr hWnd, int nCmdShow)
static bool FlashWindowEx(ref FlashInfo flashInfo)
static IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam)
static IntPtr SetWindowLongPtr(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
static int SHFileOperation(ref SHFILEOPSTRUCT FileOp)
static uint ToUInt32(object? value)
static int SizeOf(object structure)
static FlashInfo CreateStop(IntPtr hWnd)
static FlashInfo CreateStart(IntPtr hWnd)
FileOperationFlags fFlags
bool fAnyOperationsAborted