windows api

  1. Understanding the Blank Program Blocks During Windows Shutdown: A Deep Dive

    For decades, Windows users have been bewildered by the appearance of an anonymous window that blocks system shutdowns, often marked only with a vague message or a blank space where a program name should appear. This cryptic occurrence has left even seasoned PC enthusiasts perplexed, especially...
  2. Microsoft KB5064646 Update Enhances AI Image Processing for AMD Systems on Windows 11

    Microsoft's recent release of KB5064646 marks a significant advancement in AI-driven image processing for AMD-powered systems. This update, elevating the Image Processing AI component to version 1.2507.793.0, is tailored for Copilot+ PCs running Windows 11, version 24H2. It introduces...
  3. Mastering Windows Updates: Essential IT Tools for Effective Management in 2025

    For IT professionals responsible for managing Windows updates across organizations of any scale, staying ahead of the rapidly evolving update landscape can feel like a full-time job in itself. Over the past year, Microsoft has markedly refined the way it communicates crucial information about...
  4. Microsoft Ends Windows Maps: What You Need to Know About the Future of Windows Navigation

    It happened quietly, almost like a beloved neighborhood coffee shop closing its doors without a fuss: Microsoft has officially signed the death warrant for the Windows Maps app, finally admitting what some of us have long suspected—nobody was really using it, and even Microsoft themselves had...
  5. CVE-2025-21328: New Security Bypass Threat in Windows Systems

    Microsoft’s bustling Security Vulnerability ecosystem has added a brand-new entry: CVE-2025-21328. This is a Security Feature Bypass vulnerability that many may overlook at first glance but has significant implications for Windows environments and secure browsing setups. Here’s everything you...
  6. Enhancing Windows Access: Microsoft Graph API and Its Latest Features

    Microsoft has made strides in enhancing Windows API integration, notably through the Microsoft Graph application. This tool offers programmatic access to critical Windows information, catering to users' needs for more frequent, robust, and versatile data access. Users, now on a more personal...
  7. A strange problem with modeless dialog boxes

    I have solved the problem! When the AI Bot told me that I was stalling the message loop, I looked deeper. In the original code I was calling PeekMessage() with PM_REMOVE, filtering for WM_KEYDOWN, and then checking for VK_ESCAPE. This consumed the WM_KEYDOWN message but not any other messages...
  8. F

    Windows 11 Drawing a border and background color with a handle to a window.

    ``` #include <Windows.h> #include <Richedit.h> HWND hwnd; HWND panel; HWND richEdit; WNDPROC oldStaticProc; int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); LRESULT CALLBACK StaticProc(HWND hwnd, UINT...
  9. Windows 10 How to monitor disk cache page accesses?

    Anyone know of any tools or Windows API that can monitor disk cache page accesses? For example, if a cache page is loaded from/to memory, I would like to count the size and times. This is to determine possible SSD degradation with too many accesses from page caches. Thanks
  10. Windows 10 GetKeyState weirding out? (Windows API)

    I am at the end of my wisdom and need some help. Here are the relevant parts of my code: proc isKeyPressed(virtKeyCode: int32, stateCode: SHORT): bool = if GetAsyncKeyState(virtKeyCode) and 0x8000 != 0: return true else: return false template checkKey(virtKeyCode: int32, keyValue...
  11. Rust/WinRT Public Preview

    We are excited to announce that the Rust/WinRT project finally has a permanent and public home on GitHub: microsoft/winrt-rs Rust/WinRT follows in the tradition established by C++/WinRT of building language projections for the Windows Runtime using standard languages and compilers, providing a...
  12. M

    Windows 7 C# CMD Program to Monitor Windows Processes and Alert on New Tasks

    I would like to know is it possible to make a cmd program in #C to monitor windows processes? CMD Starts and automatically sends tasklist command every 10 seconds. If new process starts during that 10 seconds it opens TXT or another CMD windows to inform me that process name and location...
  13. Windows 10 SDK Preview Build 17125

    Today, we released a new Windows 10 Preview Build of the SDK to be used in conjunction with Link Removed (Build 17125 or greater). The Preview SDK Build 17125 contains bug fixes and under development changes to the API surface area. The Preview SDK can be downloaded from Link Removed. For...
  14. Windows 10 Taskbar shows up when CD/DVD is inserted or ejected

    Hello, In our application we get the handle of the taskbar using Windows API and hide it using SW_HIDE. Yet when the CD / DVD is inserted / ejected the taskbar is visible. We tried to handle the WM_DEVICECHANGE windows message which is received when any device is inserted to the system and...
  15. How to Restart your App Programmatically

    For some apps (especially games) it is not uncommon for the app to get into a state where it needs to restart – perhaps after a license update, after installing downloadable content, its caches have become corrupt or unwieldy, or for any other reason where the app needs to refresh state from...
  16. Windows 10 SDK Preview Build 16225 Released

    Today, we released a new Windows 10 Preview Build of the SDK to be used in conjunction with Link Removed (Build 16225 or greater). The Preview SDK Build 16225 contains bug fixes and under development changes to the API surface area. The Preview SDK can be downloaded from Link Removed. For...
  17. High-DPI Scaling Improvements for Desktop Applications in the Windows 10 Creators Update

    In the previous blog post about High-dots-per-inch (DPI) scaling improvements, we talk about how desktop applications can be blurry or sized incorrectly when run on high-DPI displays. This is especially noticeable when docking and undocking or when using remoting technologies such as Remote...
  18. Windows 10 Program to either Untray or Run

    When pinning a program to the taskbar, when you launch it it runs the actual executable then the application either runs for the first time, or if it's already running but minimized to the tray, it has to handle that 2nd exe instance -> terminate the second one -> un-minimize the currently...
  19. VIDEO Standard C++ and the Windows Runtime (C++/WinRT)

    The Windows Runtime (WinRT) is the technology that powers the Universal Windows Platform, letting developers write applications that are common to all Windows devices, from Xbox to PCs to HoloLens to phones. Most of UWP can also be used by developers targeting traditional desktop applications...
  20. CredUIPromptForWindowsCredentials API does not select the smart card logon certificate from...

    Link Removed