2,836 questions with Windows development | Windows API - Win32 tags
What is the autorenewal procedure for multiple certificates enrolled using the same certificate template?
Hi, At one of our customers, I think we might be running into a certificate autorenewal bug on our Windows server 2019 Webservers which are configured to use SSL certificates with autorenewal. Automatic rebinding of the certificate is enabled in IIS…
Windows development | Windows API - Win32
Windows for business | Windows Server | Devices and deployment | Configure application groups
PowerManager.EnergySaverStatus not working properly in Windows 11 Pro
UWP PowerManager.EnergySaverStatus always returns 'Off' in Windows 11 when battery is above 20% I am encountering an issue where the PowerManager.EnergySaverStatus UWP API incorrectly reports the energy saver state on Windows 11 devices when the battery…
Windows development | Windows API - Win32
How to use performance counters in different language environments?
Hi, I encountered some errors when I use "PdhAddEnglishCounterA" or "PdhAddCounterA" in performance counters. Everything is ok when I use "PdhAddCounterA" and correct English querying parameters in English…
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
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…
Windows development | Windows API - Win32
Developer technologies | C++
MIDL Compiler generates wrong year
Using the MIDL compiler with IDL statements to generate a .TLB file, the compiler inserts a text line into the .TLB such as: Created by MIDL version 8.01.0628 at Mon Jan 18 19:14:07 2038. The year should be the year the .TLB was created (e.g., 2024), NOT…
Windows development | Windows API - Win32
ndfapi.dll's NdfRunDllDiagnoseWithAnswerFile and NetworkDiagnosticsSharing API call Description
Good Day! I have been searching online regarding the API calls NdfRunDllDiagnoseWithAnswerFile and NetworkDiagnosticsSharing but the results were being pointed to **NdfDiagnoseIncident function (ndfapi.h) **which i am not sure if this is the updated…
Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
“Request for API or COM method used by Settings to trigger taskbar color refresh without restarting Explorer”
“Request for API or COM method used by Settings to trigger taskbar color refresh without restarting Explorer” I’m reverse-engineering the taskbar color refresh logic in Windows 11. I’ve successfully edited the AccentPalette registry keys and called…
Windows development | Windows API - Win32
Improper mesh shader topology warning
Hi, I have a problem where I'm receiving a topology error from DirectX: D3D12 ERROR: ID3D12Device1::CreateMeshShader_TopologyMismatch: Since the mesh shader specifies output topology of line, if the PSO desc ALSO specifies a primitive topology (even…
Windows development | Windows API - Win32
How to install legacy Visual Studio 6 (with VB6) on my computer today?
I need to find a CD image to install Visual Basic 6 on my Win11. I can't find the ISO-image download.
Windows development | Windows API - Win32
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
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