Skip to content

Instantly share code, notes, and snippets.

@mlasson
mlasson / TaskBar.cs
Created May 24, 2018 16:54
Pinning to the taskbar a “chained process”
using System;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
/* Source: https://stackoverflow.com/questions/48539789/pinning-to-the-taskbar-a-chained-process */
internal struct PropertyKey
{
Guid formatId;