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

Sort by: Updated
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 60 Reputation points
commented 2026-04-09T10:46:26.06+00:00
Taki Ly (WICLOUD CORPORATION) 615 Reputation points Microsoft External Staff Moderator
0 answers

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://dori-uw-1.kuma-moon.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 60 Reputation points
commented 2026-04-09T10:43:14.3766667+00:00
Taki Ly (WICLOUD CORPORATION) 615 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://dori-uw-1.kuma-moon.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 60 Reputation points
commented 2026-04-09T09:47:14.5+00:00
Taki Ly (WICLOUD CORPORATION) 615 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
answered 2026-04-09T06:15:26.5666667+00:00
Taki Ly (WICLOUD CORPORATION) 615 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 60 Reputation points
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
commented 2026-04-09T00:39:27.8066667+00:00
Les Ferch 10,326 Reputation points Volunteer Moderator
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 110 Reputation points
accepted 2026-04-05T15:33:46.94+00:00
MovelessMove-0585 110 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) 615 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,351 Reputation points
commented 2026-03-26T15:27:09.36+00:00
RLWA32 52,351 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) 615 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) 615 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://dori-uw-1.kuma-moon.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) 615 Reputation points Microsoft External Staff Moderator
1 answer

How to avoid false positive where modem lines go High upon serial port opening using win32?

I'm using the Win32 library to interact with serial ports. Using pretty standard code, when I call createFile(), I notice that all modem lines suddenly send back a HIGH signal once the call completes. This is causing false positives in my application.…

Windows development | Windows API - Win32
asked 2026-03-12T19:47:49.0033333+00:00
sirjuicebox-9237 0 Reputation points
commented 2026-03-20T02:27:08.35+00:00
Taki Ly (WICLOUD CORPORATION) 615 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

NCryptSetProperty returns error 0x80090026 while deriving session keys using NCryptDeriveKey

I am trying to use NCryptDeriveKey to derive session encryption and authentication keys using HKDF. I can generate ephemeral key-pair NCryptCreatePersistedKey and return the key handle and public key. In another function for deriving session keys I am…

Windows development | Windows API - Win32
asked 2026-02-10T18:39:42.0166667+00:00
Sourabh 20 Reputation points
commented 2026-03-18T08:46:25.5533333+00:00
Sourabh 20 Reputation points
2 answers One of the answers was accepted by the question author.

OutputDebugStringA not working at all

Neither OutputDebugStringA nor OutputDebugStringB (ODS) are working in my environment, Windows 11, dell intel machine, Visual Studio Community 2022 64-bit. The symptom is that the call is made and returns without error, but the output does not show up…

Windows development | Windows API - Win32
asked 2026-03-14T14:00:59.79+00:00
Andrew Mercer 546 Reputation points
commented 2026-03-14T22:52:40.7333333+00:00
Andrew Mercer 546 Reputation points
2 answers

Correct usage of DisplayTask::SetSignal

I can't get Windows.Display.Devices.Core DisplayTask::SetSignal to work as documented Sample application compiles, runs and presents content to my monitor I have created a DisplayFence by opening a shared handle to a D3D11Fence and passed that in as the…

Windows development | Windows API - Win32
asked 2025-12-20T10:27:58.7433333+00:00
Peter Kinsey-James 0 Reputation points
answered 2026-03-13T11:59:30.19+00:00
Peter Kinsey-James 0 Reputation points
2 answers One of the answers was accepted by the question author.

new to microsoft learn

hello, I'm new to microsoft learn and I want to read some documentations related to OS development and windows applications development (e.g. direct2d, Win32API, universal C runtime, etc...) but I don't know the suitable "reading…

Windows development | Windows API - Win32
asked 2026-03-04T19:57:48.8366667+00:00
Mohammed Moustafa 20 Reputation points
commented 2026-03-12T07:50:33.9233333+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator