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

Sort by: Updated
1 answer

How does OneDrive pin itself in the Home/Gallery area of Windows explorer?

OneDrive appears below home and gallery, in a section above everything else I have my own cloud sync engine, and I want it to appear in this area too, currently it appears 2 sections below

Windows development | Windows API - Win32
asked 2026-05-13T23:13:44.4866667+00:00
sysadmin 140 Reputation points
commented 2026-05-22T06:40:46.57+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
3 answers

MSFT_Disk to MSFT_PhysicalDisk

Hello, because MSFT_PhysicalDisk does not have IsSystem like MSFT_Disk, how can I get MSFT_Disk WHERE IsSystem = TRUE and correlate it to MSFT_PhysicalDisk to be sure it's always reliable under all conditions/configurations? Using MySearcher1 As New…

Windows development | Windows API - Win32
asked 2026-05-16T14:01:16.5266667+00:00
Halifax Crosby 160 Reputation points
commented 2026-05-21T10:20:07.56+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
2 answers

KSPROPERTY_CAMERACONTROL_PANTILT: values not in arc-seconds as documented

The documentation for KSPROPERTY_CAMERACONTROL_PANTILT states: "These values are expressed in arc-second units. One arc second is 1/3600 of a degree. Acceptable values range from −180×3600 to +180×3600 arc seconds." However, for every camera…

Windows development | Windows API - Win32
asked 2026-05-07T21:32:39.32+00:00
TomQuant 0 Reputation points
commented 2026-05-18T06:56:02.0866667+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Folder-level "Free Up Space" remains disabled after on-demand hydration of a child placeholder. What is the platform's aggregation rule?

Environment Windows 11 23H2 / 24H2 (also reproduced on Windows 10 22H2) Sync provider built on the Cloud Files API (CFAPI), in-process; sync root registered via CfRegisterSyncRoot Files are created as placeholders with CF_PIN_STATE_UNSPECIFIED;…

Windows development | Windows API - Win32
asked 2026-05-12T05:21:41.0366667+00:00
Ramesh Verma 20 Reputation points
commented 2026-05-15T10:31:45.46+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

is there a kb to fix gdi leak problem on windows 11's system button's tooltip display?

in windows 11, when hover mouse pointer on system button( minimize, close), when the tooltip displayed and dismissed after a while, the process's GDI handle count increased by 1 or 2 permanently. Using WINDBG tool, i found that when creating the…

Windows development | Windows API - Win32
asked 2026-05-06T02:58:10.47+00:00
hbhdcaxytl kdf 40 Reputation points
commented 2026-05-12T20:51:18.71+00:00
David Lowndes 2,750 Reputation points MVP
2 answers One of the answers was accepted by the question author.

What does the .fptable section represent in an executable file?

After upgrading the Windows SDK to 10.0.26100.0, I noticed a new section named .fptable when dumping sections using dumpbin [executable file path]. This section did not appear before and is absent when switching back to 10.0.19041.0. I could not find any…

Windows development | Windows API - Win32
asked 2025-11-03T03:51:45.8033333+00:00
Xiao, Yuting 25 Reputation points
commented 2026-05-12T17:22:17.0133333+00:00
ef ser 0 Reputation points
1 answer

"Paging" with CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS does not seem to work as documented any more?

The documentation on CF_OPERATION_TRANSFER_PLACEHOLDERS_FLAGS describes a process to allow the software to "page" whereby you send a flag of NONE until you have finished returning all placeholders However, I am now finding that returning NONE…

Windows development | Windows API - Win32
asked 2026-05-05T03:43:15.6933333+00:00
sysadmin 140 Reputation points
commented 2026-05-12T10:11:47.3066667+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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 7,106 Reputation points
accepted 2026-05-09T12:47:45.0933333+00:00
mc 7,106 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-05-07T09:38:34.75+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
2 answers

How to fix size flickering on My D2D application

Hello, Right now I have a Direct2d application that basically aims to draw the window using D2D instead of GDI so I have used Direct3d on top of Direct 2d This is cool and it actually worked well The problem right now is that When I resize the Window a…

Windows development | Windows API - Win32
asked 2026-04-30T15:15:20.31+00:00
Omar Mohamed 120 Reputation points
commented 2026-05-07T08:05:15.01+00:00
Jack Dang (WICLOUD CORPORATION) 18,310 Reputation points Microsoft External Staff Moderator
1 answer

Recently more exceptions throw from winrt

Recently more exceptions throw from winrt, but it's ok earlier, does any change in this class? os Windows 10.0.16299 build 1087  # Child-SP          RetAddr               Call Site 00 00000042`e0afa448 00007ffc`11e0d6fa    …

Windows development | Windows API - Win32
asked 2026-04-30T02:24:05.6833333+00:00
Leon Xu 0 Reputation points
commented 2026-05-06T06:11:01.4966667+00:00
Michael Le (WICLOUD CORPORATION) 11,325 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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 40 Reputation points
edited a comment 2026-04-30T20:47:20.3033333+00:00
David Perry 40 Reputation points
2 answers

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,566 Reputation points
edited an answer 2026-04-29T08:22:54.21+00:00
RLWA32 52,566 Reputation points
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-28T09:58:47.0733333+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

WFP evaluation order with same weight

Hi, I'm trying to understand how filters are evaluated in Windows filtering platforms. The documentation states that filters within a sublayer are evaluated in descending order of their weight. However, upon observation, some filters may have the same…

Windows development | Windows API - Win32
asked 2026-04-27T09:09:49.33+00:00
L Giordani 20 Reputation points
commented 2026-04-28T03:37:12.2833333+00:00
Michael Le (WICLOUD CORPORATION) 11,325 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 65 Reputation points
accepted 2026-04-22T16:42:30.91+00:00
yezi lan 65 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) 1,500 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 140 Reputation points
commented 2026-04-17T09:51:49.83+00:00
Taki Ly (WICLOUD CORPORATION) 1,500 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) 1,500 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,331 Reputation points Volunteer Moderator