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

Sort by: Updated
2 answers

proper requirements to test in house before buying an EV to interact with the secure desktop

Hey there, Been in business since 1997, I have approx 2,800 customers I help remotely... currently paying for Anydesk or Teamviewer depending on who is cheaper at the time. To save money, we're programmers as well so we thought we would just make our…

Windows development | Windows API - Win32
asked 2026-04-21T20:44:22.6533333+00:00
David Perry 0 Reputation points
edited a comment 2026-04-24T11:02:55.5133333+00:00
RLWA32 52,366 Reputation points
1 answer

Windows 11 + Device Guard slows down CreateProcess + pipe output capture (ReadFile waits longer)

Hi Microsoft Support Team, We are seeing a significant performance difference between Windows 10 and Windows 11 when Device Guard (VBS/HVCI/WDAC) is enabled, and we would like your guidance on why this occurs. Issue description (technical) Our…

Windows development | Windows API - Win32
asked 2026-04-17T09:48:27.0733333+00:00
S, Ananth 0 Reputation points
commented 2026-04-24T10:23:15.2133333+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
2 answers

can I replace Win32 subsystem and ALL windows subsystems with my own?

sounds like a weird and fantasy question, I know... but I'm just theoretically speaking, can I replace all the built-in subsystems that come with windows like Win32 and the GUI stack (win32k.sys, directX, etc..) with my own? in the very past, NT kernel…

Windows development | Windows API - Win32
asked 2026-04-17T22:48:11.3433333+00:00
Mohammed Moustafa 20 Reputation points
commented 2026-04-24T10:20:41.7133333+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

How to get current IME Chinese/English mode from Windows 11 language bar using C++ ?

I am developing a C++ console application on Windows 11 and I need to detect the current input mode (Chinese / English) shown in the taskbar language bar. My goal is to track in real time whether the IME is in Chinese input mode or English input mode…

Windows development | Windows API - Win32
asked 2026-04-20T17:07:28.21+00:00
yezi lan 60 Reputation points
accepted 2026-04-22T16:42:30.91+00:00
yezi lan 60 Reputation points
1 answer One of the answers was accepted by the question author.

How to access UFS_DEVICE_HEALTH_DESCRIPTOR

Has anyone a working example of how to access UFS_DEVICE_HEALTH_DESCRIPTOR data https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ufs/ns-ufs-ufs_device_health_descriptor via IOCTL_STORAGE_QUERY_PROPERTY in a similar way like for NVMe…

Windows development | Windows API - Win32
asked 2026-04-21T11:53:22.28+00:00
Ruben 40 Reputation points
commented 2026-04-22T07:01:46.68+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
1 answer

Cloud Sync Engine cloud files search (SearchHandlerFactory) does not seem to work with Explorer

The cloud sync engine documentation is pretty clear on this: https://learn.microsoft.com/en-us/windows/win32/cfapi/build-a-cloud-file-sync-engine#cloud-files-search I should be able implement IStorageProviderSearchHandlerFactory…

Windows development | Windows API - Win32
asked 2026-04-08T23:03:58.0066667+00:00
sysadmin 100 Reputation points
commented 2026-04-17T09:51:49.83+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
2 answers

How to have more than 100 million entries in a Win32 virtual list view

Hi, We need to manage more than 100 million entries in a Win32 virtual list view but it looks like this is an undocumented limit to the number of entries. Trying to add more than 100 million entries will result in it being capped and only showing up to…

Windows development | Windows API - Win32
asked 2026-04-08T08:48:29.87+00:00
Nigel Paton 0 Reputation points
commented 2026-04-17T09:09:52.0266667+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How to create a shell extension using IExplorerCommand for Windows 11, 10, 8, and 7?

After reading Microsoft's documentation, Raymond Chen's blog, NanaZip implementation, and TortoiseSVN/TortoiseGit implementations, I created a "modern" shell extension implementing IClassFactory, IExplorerCommand, and IObjectWithSelection. …

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2022-12-07T19:28:01.97+00:00
David Izada Rodriguez 46 Reputation points
edited a comment 2026-04-10T01:12:33.2933333+00:00
Les Ferch 10,326 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

[CloudMirror] Placeholder folders remain on disk after uninstall

I have noticed that when I have dehydrated placeholder documents, on uninstall, these disappear, but the directory structure remains Is there some way to configure these placeholder folders to be removed on uninstall too? Its a problem because when…

Windows development | Windows API - Win32
asked 2026-04-07T23:36:11.12+00:00
sysadmin 100 Reputation points
commented 2026-04-09T10:46:26.06+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

CF_CALLBACK_TYPE_CANCEL_FETCH_PLACEHOLDERS does not ever seem to be called

I refer to https://learn.microsoft.com/en-us/windows/win32/api/cfapi/ne-cfapi-cf_callback_type CF_CALLBACK_TYPE_CANCEL_FETCH_PLACEHOLDERS This callback is used to inform the sync provider that the contents of a placeholder directory are no longer needed,…

Windows development | Windows API - Win32
asked 2026-04-07T23:33:42.2733333+00:00
sysadmin 100 Reputation points
commented 2026-04-09T09:47:14.5+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
1 answer

How to implement IStorageProviderCopyHook in a Desktop Bridge application

Greetings, I would like to know what is a proper way to implement the IStorageProviderCopyHook interface in the context of a 'desktop bridge' application for a cloud sync engine (using the cloud filter API). The available documentation…

Windows development | Windows API - Win32
asked 2022-04-06T15:08:49.313+00:00
Stefan Angelov 26 Reputation points
answered 2026-04-09T03:36:52.88+00:00
sysadmin 100 Reputation points
2 answers One of the answers was accepted by the question author.

In Windows 11, is it possible to write raw data to \\.\Physicaldisk0 using POWERSHELL?

Hello, In Windows 11 version 25h2, is it possible to write to \.\Physicaldisk0 (i.e., C:, the boot disk) in raw format using the PowerShell tool, or not? Is there anything to prove this? Also, I was able to read \.\Physicaldisk0 in raw (read-only) form.…

Windows development | Windows API - Win32
asked 2026-04-05T13:31:31.6666667+00:00
MovelessMove-0585 190 Reputation points
accepted 2026-04-05T15:33:46.94+00:00
MovelessMove-0585 190 Reputation points
2 answers One of the answers was accepted by the question author.

how to know if the win32 window is Activated using keyboard keys

Hello, I have a win32 window with a window proc an event Handler and I want to know if that window is Activated using the Mouse or the Keyboard for the mouse I have used the WM_MOUSEACTIVATE but I don't know how to do it with the keyboard also how to get…

Windows development | Windows API - Win32
asked 2026-04-02T10:19:57.3966667+00:00
Omar Mohamed 120 Reputation points
accepted 2026-04-03T13:05:22.3633333+00:00
Omar Mohamed 120 Reputation points
2 answers One of the answers was accepted by the question author.

How I could add The Parent-Child relation ship into my Win32 GUI

Hey, I want the users that are going to use the GUI Framework to be able to add Windows which have the Parent-Child relation ship but I want it like the winui3 style it creates a window but you still can control the parent window and when you close the…

Windows development | Windows API - Win32
asked 2026-03-25T08:02:48.7833333+00:00
Omar Mohamed 120 Reputation points
accepted 2026-04-02T09:15:53.04+00:00
Omar Mohamed 120 Reputation points
1 answer

how to create this 3d image using direct 3d?

I want to create this 3d image using direct3d. then I can rotate and click the sub image in it. should I : 1.create this using other 3d software and then using direct3d? 2.just create them using direct3d? but how to add the light ?

Windows development | Windows API - Win32
asked 2026-03-21T12:21:37.37+00:00
mc 6,861 Reputation points
commented 2026-03-30T03:57:32.5566667+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
1 answer

Dbghelp API fails to find symbol files in downstream store

Over time the local store that I used for downloaded symbol files had become quite large. I considered using the AgeStore utility to prune it but it balked because file system last access updating was disabled. So I decided to write a utility using the…

Windows development | Windows API - Win32
asked 2026-03-20T07:34:53.8733333+00:00
RLWA32 52,366 Reputation points
commented 2026-03-26T15:27:09.36+00:00
RLWA32 52,366 Reputation points
2 answers

Error Handling in user32.lib

CreateWindowEx is trying to call a NULL defined WndProc and silently crashes. If I register a WNDCLASS like this: WNDCLASSA wc = { .lpszClassName = "Test" }; RegisterClassA(&wc); the class is registered successfully. But if…

Windows development | Windows API - Win32
asked 2026-03-18T10:34:11.0633333+00:00
KevinL 0 Reputation points
commented 2026-03-26T06:56:01.4966667+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

^C sent to the stdin of a program running under a pseudo console does not generate break

I've written a program that launches a console application within a pseudoconsole. Following the documentation, I: Create two anonymous pipes. Call CreatePseudoConsole, passing in the appropriate end of each of the pipes for standard input &…

Windows development | Windows API - Win32
asked 2026-03-22T22:26:33.37+00:00
Jonathan Gilbert 25 Reputation points
commented 2026-03-25T13:13:54.47+00:00
Jonathan Gilbert 25 Reputation points
2 answers One of the answers was accepted by the question author.

Supported way to detect input or hotkey when Windows session is locked (secure desktop)

Hello, We need to validate a supported architecture for implementing a user-initiated trigger on Windows. Scenario: We have a Windows application or Windows Service running on a client machine. The user session may be signed in but locked. We need to…

Windows development | Windows API - Win32
asked 2026-03-20T12:08:20.08+00:00
Jordi Parareda 20 Reputation points
commented 2026-03-25T07:33:47.67+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Need license infomation for BITS service

Hi, Can you provide the license information to use BITS interface https://learn.microsoft.com/en-us/windows/win32/bits/bits-dot-net Thanks, Kishore

Windows development | Windows API - Win32
asked 2026-03-19T11:06:12.1833333+00:00
MUDAPAKA Kishore K 25 Reputation points
commented 2026-03-20T07:03:54.59+00:00
Taki Ly (WICLOUD CORPORATION) 925 Reputation points Microsoft External Staff Moderator