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

Sort by: Updated
0 answers

Microsoft pe system32.sys Got deleted after dec 6

My windows PE got deleted after factory reset my Dell 402 the oldest model of dell Technologies made in 2002 and it just stopped working do you have any answers to fix this

Windows development | Windows API - Win32
asked 2025-12-09T16:00:16.3333333+00:00
Enormous 20 Reputation points
3 answers

rescap Capability

Hello My .NET Framework WinForms msix packaged app has declared runFullTrust Capability. It works fine on my end when accessing the Internet to send/receive data. But I've seen many similar apps on the store that declare both runFullTrust and…

Windows development | Windows API - Win32
asked 2025-12-08T17:36:30.2433333+00:00
Halifax Crosby 120 Reputation points
edited an answer 2025-12-09T13:58:32.9966667+00:00
Darran Rowe 2,531 Reputation points
2 answers

How to obtain information about CPU, RAM, GPU

I have been making a small tool recently One of the functions requires obtaining the current CPU, RAM, GPU usage rate of the system How can I currently obtain the usage rate of CPU, RAM, and GPU? Are there any APIs available? My tool is compatible with…

Windows development | Windows API - Win32
asked 2025-06-09T09:32:24.4133333+00:00
zhang_wang_hong 3,900 Reputation points Volunteer Moderator
commented 2025-12-09T12:54:47.8733333+00:00
zhang_wang_hong 3,900 Reputation points Volunteer Moderator
2 answers One of the answers was accepted by the question author.

msix Registry.dat usage

Hello My desktop Framework WinForms packaged app has a Registry.dat to have some preloaded entries. However, adding these keys to my Registry.dat which only packaged app has access to it, will have any effect? Thanks. HKLM\SOFTWARE\Microsoft\Internet…

Windows development | Windows API - Win32
asked 2025-12-08T17:45:56.73+00:00
Halifax Crosby 120 Reputation points
commented 2025-12-09T06:44:27.13+00:00
Jack Dang (WICLOUD CORPORATION) 5,205 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How to download CertPurge?

Hello I need to download the CertPurge: https://techcommunity.microsoft.com/blog/coreinfrastructureandsecurityblog/pki-basics-how-to-manage-the-certificate-store/259419 But I get AuthorizationFailure error, how to get it? Thanks in advance.

Windows development | Windows API - Win32
asked 2025-12-02T13:21:01.2166667+00:00
Halifax Crosby 120 Reputation points
accepted 2025-12-09T06:12:36.3533333+00:00
Halifax Crosby 120 Reputation points
1 answer

Program crash when creating MagnificationAPI window in Windows 11

While executing the following statement, programs on the target computer crash without warning and without a runtime error pop-up box. hwndMag = CreateWindow(WC_MAGNIFIER, TEXT("IdtScreenMagnifierMag"), WS_CHILD | MS_CLIPAROUNDCURSOR |…

Windows development | Windows API - Win32
Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
4,026 questions
asked 2024-07-05T04:07:40.6+00:00
RL Chen 265 Reputation points
commented 2025-12-09T05:17:17.6166667+00:00
RL Chen 265 Reputation points
2 answers

Automatic launch of non-UWP application in kiosk mode with autologon

I created an executable (app.exe) that needs to be started automatically on a kiosk-mode workstation with autologon enabled. Issues encountered: app.exe does not run correctly under non-administrator accounts: the launch fails or the application freezes…

Windows development | Windows API - Win32
asked 2025-11-08T23:10:33.55+00:00
dev 0 Reputation points
commented 2025-12-09T03:30:37.5266667+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,165 Reputation points Microsoft External Staff Moderator
1 answer

How can I enable my software to trigger cloud filter placeholder retrieval?

I have a cloud filter provider which is running just fine, however I have noticed that if I programmatically traverse directories, the placeholders aren't fetched - it's only when doing it using explorer or command line. Is there something I can do to…

Windows development | Windows API - Win32
asked 2025-12-03T02:34:54.3666667+00:00
sysadmin 40 Reputation points
commented 2025-12-08T23:42:06.9333333+00:00
sysadmin 40 Reputation points
2 answers

Update app from code

Hello https://learn.microsoft.com/en-us/windows/msix/store-developer-package-update Is it possible to check if an update is available, and download/install it in .Net Framework WinForms apps? (full trust store packaged) Thanks in advance.

Windows development | Windows API - Win32
asked 2025-12-02T13:27:03.8766667+00:00
Halifax Crosby 120 Reputation points
commented 2025-12-08T17:24:20.57+00:00
Halifax Crosby 120 Reputation points
1 answer

[CFAPI] file handle from CfGetWin32HandleFromProtectedHandle cannot be used to read data.

Hi, I'm trying to implement a sync logic to upload local change to cloud. In this case I need to open local file for read, but it does not work as expected: Get a protected handle protected_handle from CfOpenFileWithOplock, works fine; Get a win32…

Windows development | Windows API - Win32
asked 2025-12-03T09:20:21.8733333+00:00
Aaron Liu 0 Reputation points
edited a comment 2025-12-08T10:18:50.1366667+00:00
Damien Pham (WICLOUD CORPORATION) 1,345 Reputation points Microsoft External Staff Moderator
2 answers

How Do I Retarget a C++ Application?

Hello Folks: Developing on Windows 10 Pro on the Extended Security Update program, VS 2019 Community Version 16.11.53, all C++. I'm getting the following error. error MSB8020: The build tools for v143 (Platform Toolset = 'v143') cannot be…

Windows development | Windows API - Win32
asked 2025-12-02T16:49:16.36+00:00
Larry 20 Reputation points
commented 2025-12-08T10:07:16.6966667+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
2 answers

4625- Security Microsoft Unified Security Protocol Provider SChannel

While calling sslStream.AuthenticateAsServer(this.serverCertificate, true, SslProtocols.Tls12, false) method throwing below Audit information error An account failed to log on. Subject: Security ID: NULL SID Account Name: - Account Domain: - Logon…

Windows development | Windows API - Win32
asked 2025-12-08T04:59:32.35+00:00
Radhika Sridhar 20 Reputation points
answered 2025-12-08T09:58:19.1733333+00:00
Raymond Huynh (WICLOUD CORPORATION) 3,800 Reputation points Microsoft External Staff Moderator
2 answers

How to install legacy Visual Studio 6 (with VB6) on my computer today?

I need to find a CD image to install Visual Basic 6 on my Win11. I can't find the ISO-image download.

Windows development | Windows API - Win32
asked 2025-10-04T13:08:28.38+00:00
Lars Ottosson 0 Reputation points
commented 2025-12-08T09:27:30.4666667+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
1 answer

How can I implement macOS-style modifier + trackpad zoom (system-wide magnifier) on Windows using Win32/C#?

I am trying to recreate the macOS accessibility zoom feature on Windows. On macOS, holding Control and performing a two-finger scroll on the trackpad triggers a system-wide zoom: The entire screen zooms The zoom centers on the mouse cursor Moving the…

Windows development | Windows API - Win32
asked 2025-12-06T06:38:33.41+00:00
ketan sharma 0 Reputation points
answered 2025-12-08T08:56:00.6466667+00:00
Jack Dang (WICLOUD CORPORATION) 5,205 Reputation points Microsoft External Staff Moderator
2 answers

D2D DWrite encountered error 0x88985001 while loading a custom font. Repeated debugging attempts failed to pinpoint the issue. Please help me.

I am attempting to add a TTC font to an IDWriteFontCollection and have chosen to register a custom loader using RegisterFontCollectionLoader(collectionLoader);. The font file is located within a resource file (.rc). The font file format is .ttf, but…

Windows development | Windows API - Win32
asked 2025-08-27T06:42:25.4966667+00:00
RL Chen 265 Reputation points
recommended 2025-12-08T07:50:05.3466667+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
4 answers One of the answers was accepted by the question author.

How to Enable/Disable audio devices

Hi, I want to enable/disable audio devices listed in sound control panel (mmsys.cpl) but either through programmatically or through any power shell commands/scripts or windows internal utilities(pnputil, devcon). I tried using WMI APIs, Core Audio APIs,…

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2024-03-14T09:13:27.3433333+00:00
Ramashankar 35 Reputation points
commented 2025-12-08T05:59:45.5933333+00:00
Ramashankar 35 Reputation points
1 answer

Will using RegisterHotKey in a WinUI 3 packaged app pass Microsoft Store certification?

Hello, I am currently developing a WinUI 3 packaged app that I plan to distribute through the Microsoft Store. My app would benefit from global keyboard shortcuts, and I am considering using the Win32 API RegisterHotKey to implement this…

Windows development | Windows API - Win32
asked 2025-12-06T13:05:03.7066667+00:00
Grape Juice 0 Reputation points
answered 2025-12-06T13:05:13.7233333+00:00
Q&A Assist
2 answers

how to get the special process GPU usage with the PDH API

Hello all I want to get the special process GPU usage, how could I conbine the counter path. I have tried the "\GPU Engine(%s#%d)\Utilization Percentage", %s is the process name, the %d is the process id or instance index. but all of these…

Windows development | Windows API - Win32
asked 2025-12-01T03:28:27.0666667+00:00
Chief Guo 21 Reputation points
commented 2025-12-04T10:55:55.6966667+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,165 Reputation points Microsoft External Staff Moderator
1 answer

Help Parsing Long Integer from Input in Win32 API (Possible Error?)

System.InvalidOperationException: Operation failed with error code 18884001969 at MyApp.Controllers.PaymentController.ProcessRequest() in /src/Controllers/PaymentController.cs:line 229 System.InvalidOperationException: Operation failed with error code…

Windows development | Windows API - Win32
asked 2025-11-25T15:58:51.32+00:00
Lekisha Abeita 0 Reputation points
commented 2025-12-04T10:53:49.9966667+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,165 Reputation points Microsoft External Staff Moderator
2 answers

Is There a Practical Size/Page Limit for Print Spooling in Win32 Printing?

I'm building a WinUI2 (WinRT/C++) application that includes a custom printing workflow. Instead of relying on the system-provided Printer Dialog, we're generating our own UI and sending print jobs directly using Win32 APIs. To print, I'm obtaining the…

Windows development | Windows API - Win32
asked 2025-12-04T07:12:48.4233333+00:00
Shyam Butani 425 Reputation points
answered 2025-12-04T10:44:18.9066667+00:00
Jay Pham (WICLOUD CORPORATION) 3,065 Reputation points Microsoft External Staff Moderator