Hi. I think I found a bug in GetWindow{Placement().
I save and restore the window placement using the registry as an intermidiary.
For save...
```
(In WndProc)
case WM_DESTROY:
{
WINDOWPLACEMENT wp;
ZeroMemory(&wp, sizeof(wp));
wp.length =...
I cannot open a handle to any of my storage devices.
HANDLE h = CreateFile(L"\\\\.\\PhysicalDisk0", GENERIC_READ | GENERIC_WRITE, FILE_READ_ACCESS | FILE_WRITE_ACCESS,
0, OPEN_EXISTING, 0, 0);
I also tried copying the full path from WinObj: \GLOBAL??\PhysicalDrive0 and...
how would i draw a semi-transparent rectangle with code for use with Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.Instance.SetOverlayIcon?
thanks