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

Sort by: Updated
2 answers

Find property for Touch-/ Trackpad by RawInputDeviceInfo to distinguish independent of the model/ manufacturer in registry

Hello, I want to recognize, if the input is coming from the touch-/ trackpad independent of the Laptop model/ manufacturer. Is it possible? I'm getting the devicename by RawInputDeviceInfo and i see that there is the possibility to compare it with…

Windows development | Windows API - Win32
asked 2021-03-14T13:12:24.02+00:00
youki 1,021 Reputation points
edited a comment 2025-11-07T12:06:26.3166667+00:00
Alx24 0 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 2025-11-07T11:21:09.7+00:00
Danny Nguyen (WICLOUD CORPORATION) 3,840 Reputation points Microsoft External Staff Moderator
2 answers

Is there any technical documentation on the internal logic of the MS IME for Japanese?

As I am still struggling to improve application compatibility with Japanese keyboard users, I find that the widely posted end user guides for "how to type Japanese" lack enough exactness to allow me to programmatically track the state of the…

Windows development | Windows API - Win32
asked 2025-11-06T12:01:18.1633333+00:00
MSDN_userSince1994_newaccount2023 0 Reputation points
edited an answer 2025-11-07T09:45:26.0666667+00:00
Tom Tran (WICLOUD CORPORATION) 2,305 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

How to show some message to user in Explorer for VFS apps based on CloudFile APIs

Creating a prototype app similar to OneDrive, where we need to show some user action message to the User when app is not running or when user has signed-out from VFS app, similar to what is shown by OneDrive. Can someone suggest how we can achieve it?

Windows development | Windows API - Win32
asked 2025-07-23T11:06:48.45+00:00
Vivek Kumar 20 Reputation points
accepted 2025-11-07T09:41:06.1433333+00:00
Vivek Kumar 20 Reputation points
2 answers One of the answers was accepted by the question author.

how to custom the control of the win32?

how to custom the control in the win32 ? I want to custom it

Windows development | Windows API - Win32
asked 2025-11-05T14:37:13.4866667+00:00
mc 6,136 Reputation points
commented 2025-11-07T09:18:56.5833333+00:00
Raymond Huynh (WICLOUD CORPORATION) 2,400 Reputation points Microsoft External Staff Moderator
0 answers

EnableEUDC API call slows down over time on Windows Server 2022 / Windows 11

I created an executable that calls the Windows GDI API function EnableEUDC (※). ※https://learn.microsoft.com/ja-jp/windows/win32/gdi/enableeudc When this executable is run repeatedly, the execution speed of the EnableEUDC function gradually becomes…

Windows development | Windows API - Win32
asked 2025-09-03T01:46:42.7466667+00:00
T.S 0 Reputation points
commented 2025-11-07T08:38:22.5633333+00:00
Harry Vo (WICLOUD CORPORATION) 3,380 Reputation points Microsoft External Staff Moderator
0 answers

Search dialog box is coming in background

Hi, Our application runs on Windows 11 and uses an HP printer. When the HP printer driver is not installed and a user attempts to use the printer, the driver search process dialog box runs in the background. Is there any API or method available to bring…

Windows development | Windows API - Win32
asked 2025-09-05T09:56:02.7566667+00:00
Halder, Krishnendu 90 Reputation points
commented 2025-11-07T08:35:53.1333333+00:00
Harry Vo (WICLOUD CORPORATION) 3,380 Reputation points Microsoft External Staff Moderator
1 answer

What are the identifiers and prevalance for the Japanese ImeOn/ImeOff keyboard layout

The Windows DDK documentation mentions an unusual variant of Japanese keyboards under the headline "ImeOn / ImeOff implementation" at https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/keyboard-japan-ime (This is a…

Windows development | Windows API - Win32
asked 2025-10-23T14:56:17.7566667+00:00
MSDN_userSince1994_newaccount2023 0 Reputation points
commented 2025-11-07T08:17:47.7733333+00:00
Raymond Huynh (WICLOUD CORPORATION) 2,400 Reputation points Microsoft External Staff Moderator
1 answer

How to disable Unified Audio Endpoints?

Whenever an application tries to use my headset it can not hear the audio from it. This is because Windows is forcing the device into Headphone mode instead of headset. The Headphone mode does not have a microphone input channel. Please just give us the…

Windows development | Windows API - Win32
asked 2025-11-03T19:28:41.2766667+00:00
Taulquist, Andrew 0 Reputation points
edited a comment 2025-11-07T07:00:09.4533333+00:00
Tom Tran (WICLOUD CORPORATION) 2,305 Reputation points Microsoft External Staff Moderator
0 answers

Handle leak in LSASS.exe and LsaIso.exe when using WMI

Hi there, I am currently puzzled by an issue where a piece of software we develop behaves wildly different when Credential guard is enabled or not. If credential guard is disabled, the WMI queries are responsive and the lsass-process is mostly running…

Windows development | Windows API - Win32
asked 2025-07-31T14:54:32.2833333+00:00
Brent 0 Reputation points
commented 2025-11-07T04:29:26.58+00:00
Harry Vo (WICLOUD CORPORATION) 3,380 Reputation points Microsoft External Staff Moderator
1 answer

Is the MsRdpClient11NotSafeForScripting::SendKeys() method broken or disabled on Windows11? All the other API calls work except this one. I am bit encoding the fields for the lParam, and have tried both bool and VARIANT_BOOL to indicate keys up/down.

I am using the MsRdpClient11NotSafeForScripting class to write a C++ RDP client. All the other needed functions/methods work except SendKeys(). I need to know if it is known broken / disabled on Windows 11 method broken or disabled on Windows11? I use a…

Windows development | Windows API - Win32
asked 2025-11-05T06:46:05.5233333+00:00
R Hartley 0 Reputation points
commented 2025-11-07T02:46:40.16+00:00
Tom Tran (WICLOUD CORPORATION) 2,305 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

[Prism] Does emulated DXVA2 and DXVA11 video decoding get ANY hardware acceleration on ARM?

I have an existing win32 app that uses DXVA2 and DXVA11 hardware acceleration to decode H264 and H265 video on Windows 11. I understand that DXVA2 and DXVA11 should work on Windows on Arm / Qualcomm under the Prism emulator. However, does this work…

Windows development | Windows API - Win32
asked 2025-11-03T15:23:51.0566667+00:00
appleton 0 Reputation points
accepted 2025-11-06T23:50:41.6766667+00:00
appleton 0 Reputation points
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 2025-11-06T11:24:07.99+00:00
Viorel 125.1K Reputation points
1 answer

I am using D365 POS application , but i need to use the app as kiosk , and if not possible task bar need to hide permanently as par security aspects.

Hi , Its Me Ramesh Murugan, working MAF retail as IT support , Recently we launched D365 Retail Commerce POS systems, and here we required to this desktop APP as kiosk mode under domain User login, and if is not possible we need to be hidden the task…

Windows development | Windows API - Win32
asked 2025-10-31T07:21:53.6366667+00:00
Ramesh Murugan (UAE) 0 Reputation points
commented 2025-11-06T10:40:01.03+00:00
Raymond Huynh (WICLOUD CORPORATION) 2,400 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

[CFAPI] How can I know if a folder is loaded with placeholders under CF_POPULATION_POLICY_FULL mode?

Hi, We're using CFAPI to build a file sync client, we choose CF_POPULATION_POLICY_FULL so that file list under child folders can be loaded on-demand. Is there a way to know if a given folder is initialized and loaded with placeholders or not? We have a…

Windows development | Windows API - Win32
asked 2025-11-03T11:54:03.9566667+00:00
Aaron Liu 20 Reputation points Microsoft Employee
accepted 2025-11-06T10:26:51.34+00:00
Aaron Liu 20 Reputation points Microsoft Employee
0 answers

Loading simple RTF containing an image does not release memory on subsequent loads

Consider this code it uses the MSFTEdit Richedit 50 control, every time you click the caption it will load the oom.rtf which contains an image, it displays the private bytes used by the process, (you can Task manager or Process explorer to the see the…

Windows development | Windows API - Win32
asked 2025-08-05T09:42:18.5566667+00:00
roy nelson 5 Reputation points
commented 2025-11-06T08:55:09.8666667+00:00
roy nelson 5 Reputation points
0 answers

How to implement a Windows Custom authentication packages

I want to implement a custom Windows authentication package, but I haven't found a code example or open source project to use as a reference,Could you please provide a specific project code example for reference? Or just provide how to fill in the output…

Windows development | Windows API - Win32
asked 2025-07-23T02:31:35.8533333+00:00
chengzhi ling 0 Reputation points
commented 2025-11-06T08:06:47.97+00:00
Michael Le (WICLOUD CORPORATION) 3,935 Reputation points Microsoft External Staff Moderator
0 answers

What is the correct use of the 'DwmSetIconicThumbnail' function?

I use the 'DwmSetIconicThumbnail' function to set a custom image for the taskbar icon preview layer. My question is why when the mouse is first placed on the icon for preview, the state displayed is the same as in the first chapter image, and the width…

Windows development | Windows API - Win32
asked 2025-08-21T09:11:49.64+00:00
曾子墨 0 Reputation points
commented 2025-11-06T08:00:52.4433333+00:00
Harry Vo (WICLOUD CORPORATION) 3,380 Reputation points Microsoft External Staff Moderator
0 answers

How to build an app that checks if a text file or any file is being used by another program

Hello, I want to check if a text file or any file is being used by another program, I tried to do so by chatgpt, gemini using python. But chatgpt and gemini couldn't help me(instead, they demonstrated me a thing like file lock by another program).…

Windows development | Windows API - Win32
asked 2025-07-22T15:05:57.1566667+00:00
Rahmatulloh 40 Reputation points
commented 2025-11-06T08:00:47.4933333+00:00
Michael Le (WICLOUD CORPORATION) 3,935 Reputation points Microsoft External Staff Moderator
0 answers

Purpose of signing an .msixbundle file before uploading to the Store

Hi, I'm trying to figure out the process of uploading a Windows app created using .Net MAUI from a previous vendor. The process they described to me includes creating a single msixbundle file with one x64 and one x86 msix package inside it. So far so…

Windows development | Windows API - Win32
asked 2025-08-18T07:02:46.65+00:00
Pushan Roychowdhury 0 Reputation points
commented 2025-11-06T07:59:47.2666667+00:00
Harry Vo (WICLOUD CORPORATION) 3,380 Reputation points Microsoft External Staff Moderator