2,833 questions with Windows development | Windows API - Win32 tags
Seeking Expert Help: Complex .NET/C++ Windows Agent & Credential Provider - Unexplained Post-Update Freezes & Black Screens
I'm reaching out to the deep technical community, especially those involved with Windows OS architecture and low-level development, in the hope of finding a path forward on a critical and stubborn issue. For context, I'm part of a team that builds an…
Windows development | Windows API - Win32
How to get a context menu for items from different folders (Win UI)
Hello. I am having trouble obtaining information about the context menu of several files that are not necessarily located in a shared folder. To get the menu items, I used the following code (I am currently using IShellFolder.GetChildrenUIObjects…
Windows development | Windows API - Win32
Using an application manifest to disable window theming
According to application-manifests the disableTheming element is available. I added the necessary xml to my application manifest for a Win32 desktop application but it seems that disableTheming is ignored by the system. The xml that was added to the…
Developer technologies | C++
Windows development | Windows API - Win32
assembly error
An error occurred while signing: Failed to sign bin\Release\app.publish\PrestonTrans.exe. SignTool Error: No certificates were found that met all the given criteria.
Windows development | Windows API - Win32
How can I programmatically tell if the setting to allow multiple apps to use the camera has been enabled in latest update to windows 11
Windows 11 now includes a useful option to "Allow multiple apps to use the camera at the same time". We have an application that benefits greatly from this option being enabled. We can direct the user to the correct screen to turn it on. But…
Windows development | Windows API - Win32
Windows Protected Print Mode – Silent PDF output with “Microsoft Print to PDF” no longer possible
Hello, In our application (C++win32) we use Microsoft Print to PDF to generate PDF files silently. With WPPM disabled, the flow works: With GDI we provide the output stream using StartDocW. With Direct2D/XPS we use…
Windows development | Windows API - Win32
GameInput broke on an update (device enumeration fails). How do I fix it?
A game I'm developing uses GameInput. This has worked flawlessly for probably a year but broke on September 23rd. By "broke" I mean my device enumeration callback function registered with gameInput->RegisterDeviceCallback(..) no longer…
Windows development | Windows API - Win32
MoveFileEx can produce a Access is denied error on Windows Server 2022
Running the code (building with VS2017) will always eventually error with Error:5 Message:Access is denied from MoveFileEx. Its easily reproducible on WindowsServer2022 (AWS), but works on WindowsServer2025 Its fairly random. Only happens when using in a…
Windows development | Windows API - Win32
how to fix windows 11sdk 26100 wchar.h extern link error when clang-cl compile pcm
clang-cl not permission this for header units
Windows development | Windows API - Win32
How to send / receive data between c# desktop application and custom service
Developed c# winform app in visual studio. I have developed a custom windows service. I have used sockets for communication. But I am wondering if there is a better way than sockets. Anybody have thoughts ? Thanks.
Windows development | Windows API - Win32
What does the WTS_E_EXTRACTIONPENDING HRESULT returned by IThumbnailCache::GetThumbnail mean?
Attemting to call IThumbnailCache::GetThumbnail on an dehydrated placeholder (i.e. from OneDrive or other sync programs that utilize Cloud Filter) which its thumbnail doesn't exist in the Windows Thumbnail Cache results in…
Windows development | Windows API - Win32
Dhcpv6CapiInitialize is returning a big integer instead of 0
I am trying to read the scope options from DHCPv6 server using DhcpCApiInitialize and Dhcpv6RequestParams because a similar implementation works for ipv4. The return value of DhcpCApiInitialize is a big integer value (110775840). Is there any specific…
Windows development | Windows API - Win32
List of all Windows APIs
Hello, Couldn't find a good topic but Win32 is probably best. Anyway, I have a straight forward question: Are there any links where I can find all API's that applies to Windows Development? What I mean is, we have Win32, COM, WMI, WinRT and so on... but…
Windows development | Windows API - Win32
CreateProcess doesn't work after windows updates
Hi, We have used the CreateProcess over 20 years without problem, now it has intermittent error "access violation at address 00000000 read of addresss 00000000". CmdLine is array[0..255] of Char; ExeName is a full path of the app…
Windows development | Windows API - Win32
Why are all the contacts on my touch screen randomly sending WM_POINTERUP at the same time?
Is it typical behavior that all contacts suddenly lose detection and come back at the same time? In spy++, I randomly see a burst of WM_POINTERUP -> WM_POINTERLEAVE -> WM_POINTERENTER -> WM_POINTERDOWN for every contact all at the same time. The…
Windows development | Windows API - Win32
DirectComposition HW protected swap chain: Capture APIs return black in Windows 24H2
I’m creating a DirectComposition swap chain with DXGI_SWAP_CHAIN_FLAG_HW_PROTECTED, and the call succeeds. The protected surface displays correctly, but on Windows 24H2 the OS capture APIs (PrintScreen, Windows.Graphics.Capture, DWM capture) now return a…
Windows development | Windows API - Win32
MAPI Mapping named properties
How to set MAPI named properties Below is a snippet of my C++ code where I'm attempting to set a MAPI named property corresponding to an email address on an outlook contact. const GUID PSETID_Address = {0x00062004, 0, 0, {0xC0, 0, 0, 0, 0, 0, 0,…
Windows development | Windows API - Win32
"Publisher unknown" on a signed application (using a codesigning certificate and a Yubikey)
Hello, We just changed our codesigning certificate, which, now, works with a Yubikey. When we sign the app (using signtool", we get a "code signing successful" message... But, at the install, Smartscreen says that the publisher is…
Windows development | Windows API - Win32
Help Parsing Long Integer from Input in Win32 API (Possible Error?)
System.InvalidOperationException: Operation failed with error code 18885920258 at MyApp.Controllers.PaymentController.ProcessRequest() in /src/Controllers/PaymentController.cs:line 229 System.InvalidOperationException: Operation failed with error code…
Windows development | Windows API - Win32
Search dialog box is coming in background
Hi, Our application runs on Windows 11 and uses an HP printer. When the HP printer driver is not installed and a user attempts to use the printer, the driver search process dialog box runs in the background. Is there any API or method available to bring…
Windows development | Windows API - Win32