-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShell32.cs
More file actions
43 lines (40 loc) · 1.59 KB
/
Copy pathShell32.cs
File metadata and controls
43 lines (40 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Runtime.InteropServices;
namespace devtime
{
public enum TBPFLAG
{
NOPROGRESS = 0,
INDETERMINATE = 0x1,
NORMAL = 0x2,
ERROR = 0x4,
PAUSED = 0x8
}
[ComImport]
[Guid("ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ITaskbarList3
{
void HrInit();
void AddTab(IntPtr hWnd);
void DeleteTab(IntPtr hWnd);
void ActivateTab(IntPtr hWnd);
void SetActiveAlt(IntPtr hWnd);
void MarkFullscreenWindow(IntPtr hWnd, int fFullscreen);
void SetProgressValue(IntPtr hWnd, ulong ullCompleted, ulong ullTotal);
void SetProgressState(IntPtr hWnd, TBPFLAG tbpFlags);
void RegisterTab(IntPtr hWndTab, IntPtr hWndMDI);
void UnregisterTab(IntPtr hWndTab);
void SetTabOrder(IntPtr hWndTab, IntPtr hWndInsertBefore);
void SetTabActive(IntPtr hWndTab, IntPtr hWndMDI, UInt32 tbatFlags);
void ThumbBarAddButtons(IntPtr hWnd, uint cButtons, IntPtr pButton); // Simplified marshaling if not used
void ThumbBarUpdateButtons(IntPtr hWnd, uint cButtons, IntPtr pButton); // Simplified
void ThumbBarSetImageList(IntPtr hWnd, IntPtr himl);
void SetOverlayIcon(IntPtr hWnd, IntPtr hIcon, string pszDescription);
void SetThumbnailTooltip(IntPtr hWnd, string pszTip);
void SetThumbnailClip(IntPtr hWnd, IntPtr prcClip);
}
[Guid("56FDF344-FD6D-11d0-958A-006097C9A090")]
[ComImport]
internal class TaskbarList { }
}