2,836 questions with Windows development | Windows API - Win32 tags

Sort by: Updated
0 answers

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++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
4,007 questions
asked 2021-08-06T16:09:04.423+00:00
RLWA32 50,716 Reputation points
commented 2025-10-06T19:57:01.4733333+00:00
Darran Rowe 2,366 Reputation points
1 answer

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
asked 2024-11-11T17:47:47.58+00:00
RDan 5 Reputation points
answered 2025-10-06T19:15:41.2733333+00:00
Rob Wolverton 0 Reputation points
3 answers One of the answers was accepted by the question author.

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
asked 2025-02-17T15:56:41.9733333+00:00
Cre Ate 20 Reputation points
answered 2025-10-06T14:12:08.1466667+00:00
GlennGagn-2395 77 Reputation points
0 answers

“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
asked 2025-10-05T20:00:39.8066667+00:00
Romeo Marsico 0 Reputation points
commented 2025-10-05T20:54:16.32+00:00
Castorix31 91,166 Reputation points
0 answers

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
asked 2025-10-04T18:51:47.3866667+00:00
Rory Driscoll 0 Reputation points
1 answer

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
asked 2025-10-04T13:08:28.38+00:00
Lars Ottosson 0 Reputation points
edited an answer 2025-10-04T15:24:06.0333333+00:00
Castorix31 91,166 Reputation points
0 answers

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
asked 2025-10-03T13:15:52.49+00:00
Md Ashif Ali 0 Reputation points
commented 2025-10-03T14:43:16.8966667+00:00
Viorel 124.4K Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-10-01T13:08:08.6133333+00:00
123244 235 Reputation points
accepted 2025-10-03T07:22:04.67+00:00
123244 235 Reputation points
1 answer

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
asked 2025-09-07T13:33:51.7833333+00:00
ron desanti 0 Reputation points
commented 2025-10-01T10:31:34.3033333+00:00
Damien Pham (WICLOUD CORPORATION) 1,190 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
asked 2025-09-24T16:10:12.7+00:00
James Hammond 20 Reputation points
accepted 2025-09-29T11:49:44.0966667+00:00
James Hammond 20 Reputation points
0 answers

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
asked 2025-09-26T09:04:44.5066667+00:00
Patrick Poly 0 Reputation points
0 answers

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
asked 2025-09-25T17:55:52.6433333+00:00
Todd Wasson 0 Reputation points
edited the question 2025-09-25T17:59:18.7033333+00:00
Todd Wasson 0 Reputation points
0 answers

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
asked 2025-09-18T17:13:48.87+00:00
Simon Shanks 0 Reputation points
commented 2025-09-19T08:05:57.15+00:00
RLWA32 50,716 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-09-18T06:46:05.81+00:00
杰 吴 20 Reputation points
edited the question 2025-09-18T16:56:29.1466667+00:00
Rob Caplan - MSFT 6,127 Reputation points Microsoft Employee Moderator
0 answers

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
asked 2025-09-18T13:13:20.17+00:00
Darryl Hoar 116 Reputation points
commented 2025-09-18T13:31:58.28+00:00
David Lowndes 2,665 Reputation points MVP
0 answers

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
asked 2024-03-28T06:12:53.6233333+00:00
jl-syno 0 Reputation points
edited a comment 2025-09-12T08:29:38.22+00:00
jl-syno 0 Reputation points
1 answer

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
asked 2025-09-10T11:55:28.4033333+00:00
K, Poornima 0 Reputation points
edited a comment 2025-09-11T08:41:30.9366667+00:00
RLWA32 50,716 Reputation points
1 answer

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
asked 2025-09-10T10:11:15.4633333+00:00
Andreas Ohlström 0 Reputation points
commented 2025-09-10T12:19:52.8866667+00:00
RLWA32 50,716 Reputation points
1 answer

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
asked 2025-09-08T05:08:07.5666667+00:00
Peter Shaw 10 Reputation points
edited a comment 2025-09-09T12:17:40.7233333+00:00
RLWA32 50,716 Reputation points
1 answer

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
asked 2025-09-06T03:41:15.42+00:00
Jim Bean 0 Reputation points
commented 2025-09-09T12:14:36.33+00:00
Darran Rowe 2,366 Reputation points