2,836 questions with Windows development | Windows API - Win32 tags
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
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…