windowsapi

  1. Alex Sokolek

    I think I found a bug in GetWindowPlacement()

    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 =...
  2. E

    Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function

    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...
  3. R

    Windows 7 VB.NET and SetIconOverlay?

    how would i draw a semi-transparent rectangle with code for use with Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.Instance.SetOverlayIcon? thanks
Back
Top