3,015 questions with Windows development | Windows API - Win32 tags

Sort by: Updated
1 answer

Correct GENERIC_MAPPING for process and thread objects in AccessCheck

I am designing a native x64 C diagnostic tool and would like to clarify the supported use of GENERIC_MAPPING with AccessCheck for process and thread objects. Planned environment: - Windows 11 Pro 25H2 x64, build 26200.9168 - Windows SDK…

Windows development | Windows API - Win32
asked 2026-09-08T00:10:38.1266667+00:00
yohei watanabe 0 Reputation points
commented 2026-09-10T05:56:15.05+00:00
yohei watanabe 0 Reputation points
2 answers

WinHTTP over an HTTPS forward proxy - CRL problem

Problem A native Windows client uses WinHTTP with a secure (HTTPS) forward proxy — i.e. the connection to the proxy is itself TLS, specified as a named proxy with an https:// scheme: https://mysecureproxy.duckdns.org:3129 The proxy presents a normal,…

Windows development | Windows API - Win32
asked 2026-08-30T06:56:01.5466667+00:00
Izaf 0 Reputation points
commented 2026-09-10T03:43:42.6433333+00:00
Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Can a USB diagnostic device launch an uninstalled app through AutoPlay?

I'm developing AEGIS, a legitimate USB-based PC diagnostic/repair tool. I want a technician to plug the USB into an arbitrary Windows 10/11 PC and receive a visible, user-consented prompt that launches the AEGIS application stored on the USB. The…

Windows development | Windows API - Win32
asked 2026-09-08T17:57:53.2433333+00:00
Arixx 20 Reputation points
accepted 2026-09-09T17:47:38.22+00:00
Arixx 20 Reputation points
1 answer

WebAuthNPluginPerformUserVerification2: binding between pwszDisplayHint, pbBufferToSign, and returned response

We are evaluating WebAuthNPluginPerformUserVerification2 / WEBAUTHN_PLUGIN_USER_VERIFICATION_REQUEST_2 for a high-assurance human transaction-confirmation workflow. The current Microsoft documentation states that: pwszDisplayHint is the text hint…

Windows development | Windows API - Win32
asked 2026-09-04T04:47:26.65+00:00
Nguyễn Văn Toàn 0 Reputation points
commented 2026-09-09T02:36:04.7866667+00:00
Tony Thach (WICLOUD CORPORATION) 1,120 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Native TSF IME pure MSIX deployment

I am developing Myanglish, a native third-party Windows TSF IME. The classic Win32 installer works correctly: TSF profile registration succeeds TSF categories register successfully InstallLayoutOrTip succeeds Myanglish appears in Win+Space Typing…

Windows development | Windows API - Win32
asked 2026-09-06T17:28:50.6133333+00:00
Maung Kaung 30 Reputation points
commented 2026-09-08T09:53:19.7066667+00:00
Maung Kaung 30 Reputation points
2 answers

Detecting the IME status of other windows

The following code works correctly on Windows 10. HWND forehwnd = GetForegroundWindow(); HWND ime = ImmGetDefaultIMEWnd(forehwnd); LRESULT ret = SendMessageA(ime, WM_IME_CONTROL, 0x05, 0); I checked using ret, but it always…

Windows development | Windows API - Win32
asked 2025-11-07T09:30:35.84+00:00
명훈 이 0 Reputation points
answered 2026-09-05T09:24:32.98+00:00
zdn 0 Reputation points
0 answers

What should I do about this Windows Authoring Guide infinite login loop?

I’m trying to contribute to this GitHub repository: https://github.com/MicrosoftDocs/win32. Its CONTRIBUTING.md file says: You can find guidance on using this repo in the Windows Authoring Guide. Whenever I click on that Windows Authoring Guide link,…

Windows development | Windows API - Win32
asked 2025-04-20T23:24:53.2266667+00:00
Jayman 110 Reputation points
commented 2026-09-03T16:13:17.27+00:00
Jayman 110 Reputation points
3 answers One of the answers was accepted by the question author.

Windows TSF: ActivateProfile returns S_OK, but GetActiveLanguageProfile returns S_FALSE and the Text Service DLL is not loaded into a new Notepad process

I am developing a Windows input assistance application using a native C++ Text Service based on the Windows Text Services Framework (TSF). I am currently encountering behavior related to Text Service activation after a Windows restart that I do not fully…

Windows development | Windows API - Win32
asked 2026-08-29T01:34:41.3033333+00:00
soso 20 Reputation points
accepted 2026-09-02T07:10:54.2033333+00:00
soso 20 Reputation points
3 answers

Official CPDK Version 8.0 download (Download Center item 30688) currently returns HTTP 404

Hello, I am reporting an apparent problem with the current official Microsoft acquisition path for the Cryptographic Provider Development Kit Version 8.0 (CPDK). Microsoft Learn still directs developers of CNG cryptographic algorithm providers and key…

Windows development | Windows API - Win32
asked 2026-08-22T05:26:17.35+00:00
Elena 0 Reputation points
commented 2026-08-31T02:32:26.5+00:00
Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
3 answers

Why is it impossible to set a password for a user longer than 63 characters using the “NetUserChangePassword” function?

When attempting to set a password for a user longer than 63 characters using the NetUserChangePassword function, an error occurs: NET_API_STATUS=1325 (Unable to update the password. The value provided for the new password does not meet the length,…

Windows development | Windows API - Win32
asked 2026-08-21T09:41:04.48+00:00
Mik Kim 0 Reputation points
commented 2026-08-31T02:31:55.17+00:00
Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
2 answers

Supported architecture for offline phone-biometric Windows interactive logon without password/PIN replay

I am developing a security-focused prototype called FingerBridge that uses an Android phone's strong biometric authentication as an authorization factor for Windows. The goal is to determine whether Windows provides a supported production architecture…

Windows development | Windows API - Win32
asked 2026-08-23T13:40:18.5733333+00:00
hamidr3z 0 Reputation points
commented 2026-08-31T02:31:26.63+00:00
Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
2 answers

GattServiceProvider::CreateAsync is blocked for as long as 7 minutes and 32 seconds.

HI, I Use GattServiceProvider::CreateAsync to create a gatt service and start advertising, Below is the simplified version of our code. I recently observed an issue where the call to GattServiceProvider::CreateAsync gets hung. Steps where the issue…

Windows development | Windows API - Win32
asked 2026-08-19T09:47:02.5133333+00:00
Xiaojie Ma 30 Reputation points
commented 2026-08-28T05:04:45.58+00:00
Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
2 answers

how to hydrate a projected file system file (Projfs)

I have a implementation of a projfs provider but i am trying to implement a hydrate function that converts a placeholder to the a Hydrated placeholder. https://learn.microsoft.com/en-us/windows/win32/projfs/projfs-functions There does not appear to…

Windows development | Windows API - Win32
asked 2026-08-20T23:42:38.4766667+00:00
Pribele, Joe 0 Reputation points
commented 2026-08-28T02:49:51.38+00:00
Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
3 answers

programming for windows

dear people, there were win-pascal1.5, bloodshed dev, borland 7 for windows. but now there is only life in embarcadero 11. but i have the GREAT PROBLEM, that all my programs crashing down, if i make less keyboard or mouse input, and that on not the…

Windows development | Windows API - Win32
asked 2023-06-15T22:00:03.9233333+00:00
miconus 0 Reputation points
edited the question 2026-08-26T16:02:58.11+00:00
miconus 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to perform Offline Installation of IRDA Feature on Windows 11 25H2

I am going to preface my post with some information before getting into the details. Yes, I am aware that the IRDA stack is deprecated in Microsoft Windows as it is old technology. I am also equally aware that newer technologies exist. I work with a…

Windows development | Windows API - Win32
asked 2026-01-26T22:52:29.8266667+00:00
Howland, Michael 20 Reputation points
commented 2026-08-24T20:25:59.2666667+00:00
Lancaster, Kimberly 0 Reputation points
7 answers One of the answers was accepted by the question author.

parameters for DLL sendstate

i need to know what the parameters for THE DLL sendstate MEAN

Windows development | Windows API - Win32
asked 2026-08-18T20:39:22.89+00:00
Scott Sheridan 40 Reputation points
accepted 2026-08-24T18:20:07.6166667+00:00
Scott Sheridan 40 Reputation points
2 answers One of the answers was accepted by the question author.

windows 11 classic context menu weird handling of IExplorerCommand

My app registered the file and folder context menu by implementing IExplorerCommand interface. On my own PC, it worked well. The menu is shown in both the new windows 11 and the classic menu (the windows 10 style menu when you click "Show more…

Windows development | Windows API - Win32
asked 2026-08-18T17:55:03.1633333+00:00
peter li 46 Reputation points
accepted 2026-08-24T15:53:36.5033333+00:00
peter li 46 Reputation points
2 answers One of the answers was accepted by the question author.

How correctlly use InternetReadFileEx() with IRF_NO_WAIT flag

Hi By Wininet, currently I using InternetReadFile() in sync mode, but problem is, it is blocks some times, I want replaced it by Ex version. My question is when data is not ready and function returns should call it again in a loop or should use Sleep()…

Windows development | Windows API - Win32
asked 2026-08-22T10:20:39.21+00:00
drjackool 1,016 Reputation points
accepted 2026-08-24T05:08:21.9066667+00:00
drjackool 1,016 Reputation points
1 answer One of the answers was accepted by the question author.

How do resolve the type-conflict (CS0436) when using CsWin32 in dependent projects?

I have a project that uses CsWin32, it uses a shared project reference that also uses CsWin32. I'm getting green squiggles under PInvoke... The type PInvoke conflicts with the imported type. How do I resolve this issue? Suggestions: Use a fully…

Windows development | Windows API - Win32
asked 2026-08-21T05:25:26.0533333+00:00
Gavin Williams 801 Reputation points
accepted 2026-08-24T04:49:23.64+00:00
Gavin Williams 801 Reputation points
1 answer

Information of dirty virtual memory pages

To advise the memory manager to know better which pages should be preferred for paging I need to know which pages are dirty. Obviously I can get a lot of information QueryWorkingSet and QueryWorkingSetEx but what I do not get is if the page is dirty or…

Windows development | Windows API - Win32
asked 2022-02-09T23:04:16.157+00:00
Martin Sedlmair 46 Reputation points
commented 2026-08-23T04:12:28.2+00:00
韩明睿 6 Reputation points