2,962 questions with Windows development | Windows API - Win32 tags
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
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
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
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
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
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
"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
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
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
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
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
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
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
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
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
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
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
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
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
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. …