680 questions with Windows development | Windows API - Win32 tags

Sort by: Updated
0 answers

Cloud File API FAQ

Based on the introduction from Windows official documentation at https://learn.microsoft.com/en-us/windows/win32/cfapi/build-a-cloud-file-sync-engine and the ​​Cloud Mirror Sample​​, we attempted to develop a SyncEngine independently. However, we…

Windows development Windows API - Win32
asked 2025-06-28T02:40:29.4833333+00:00
alan henry 0 Reputation points
0 answers

DataGridView DateTime Column type?

Hi experts In VB.net WinForms (.Net Framework 4.8) DataGridView Add/Edit Column > Column Type has these…

Windows development Windows API - Win32
asked 2025-06-28T02:06:23.96+00:00
StewartBW 1,805 Reputation points
0 answers

Win32 API likes Credential Provider APIs Support on ARM64 Architecture

Are all the following Credential Provider APIs fully supported on the ARM64 architecture? IConnectableCredentialProviderCredential ICredentialProvider ICredentialProviderCredential ICredentialProviderCredential2 …

Windows development Windows API - Win32
asked 2025-06-24T03:43:42.8966667+00:00
Higan 0 Reputation points
edited the question 2025-06-25T13:48:20.1+00:00
Rob Caplan - MSFT 6,032 Reputation points Microsoft Employee Moderator
0 answers

Is it possible to programmatically query the contents of an indexed file with custom file format?

Hi, I am trying to index the contents of a file with custom file format using the Windows Search Indexer. As per the Windows SDK documentation, I need to implement a filter handler and add it to the Windows Registry in order for Windows Search to be able…

Windows development Windows API - Win32
asked 2025-06-24T05:44:26.25+00:00
Udit Pant 0 Reputation points
commented 2025-06-25T13:07:18.7866667+00:00
RLWA32 49,536 Reputation points
0 answers

OpenEventLog returns RPC_S_SERVER_UNAVAILABLE on Windows 24H2

We have a tool that parse data from the eventlog. However this has stopped working to access remote servers when run Windows 24H2 machines, with either of the following errors: RPC_S_SERVER_UNAVAILABLE RPC_X_BAD_STUB_DATA The following application…

Windows development Windows API - Win32
Windows for business Windows Client for IT Pros User experience Other
Developer technologies C++
asked 2024-11-13T12:07:58.58+00:00
Ljungberg, Ted 10 Reputation points
commented 2025-06-10T09:03:44.9166667+00:00
Ljungberg, Ted 10 Reputation points
0 answers

Idioma de los videos

Los videos estan en idioma ingles con subtitulos en ese mismo idioma, ¿puedo cambiar a español o tener subtitulos en español?

Windows development Windows API - Win32
asked 2021-02-07T00:51:17.377+00:00
commented 2025-06-04T23:51:48.64+00:00
Delcy Garcia Rojas 0 Reputation points
0 answers

How to update ACL permission on placeholders created by CFAPI (Cloud Filtre API)

Trying to experiment on creating a VFS (Virtual File System ex OneDrive sort of) on windows using CFAPI (Cloud Filter Win32 API), this VFS basically replicates the cloud file system on the local desktop. I need to update the ACL permissions on…

Windows development Windows API - Win32
asked 2025-06-04T07:14:45.8+00:00
Shakti Swarup Panda 0 Reputation points
0 answers

Why doesn't DnsServiceRegister create mDNS A/AAAA records?

Hello, I am trying to register a DNS-SD service using the win32 APIs. When I call DnsServiceRegister with valid IPv4 and IPv6 addresses, I don't see these addresses broadcasted by the system. I inspected the mDNS traffic with Wireshark and I only see…

Windows development Windows API - Win32
asked 2025-06-03T06:27:36.3333333+00:00
Sameer Puri 0 Reputation points
0 answers

My 'Send' command is not blocking when it should, and instead crashes the socket connection

My Client successfully connects to the Server and starts sending data using the 'Send' Winsock API. It continues sending data at a rate faster than the Server can process it. On Windows 10, the socket behaves as advertised, and the 'Send' blocks until…

Windows development Windows API - Win32
asked 2025-05-12T17:45:25.77+00:00
Chris Grossman 5 Reputation points
0 answers

how to load .stl to direct3d?

I wonder how to use the file and thank you very much.

Windows development Windows API - Win32
asked 2025-05-11T03:14:02.1866667+00:00
mc 5,426 Reputation points
commented 2025-05-11T07:29:09.8833333+00:00
Castorix31 90,521 Reputation points
0 answers

Issue with Wallpaper Turning Black After Logout/Login Using SystemParametersInfo in Remote Control

Hi, I am remotely controlling a Windows device through an agent. I set the desktop wallpaper using the following APIs: SystemParametersInfo(SPI_GETDESKWALLPAPER, MAX_PATH, m_strWallPaperName, 0); SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,…

Windows development Windows API - Win32
asked 2025-04-28T07:32:47.17+00:00
Amal Krishna Jk 25 Reputation points
commented 2025-05-07T06:15:50.55+00:00
Amal Krishna Jk 25 Reputation points
0 answers

How to turn off visual styles for a control using SetWindowTheme function on Windows 11?

With "visual styles" enabled by the host application, radio button and checkbox controls no longer send WM_CTLCOLORSTATIC messages. We rely on these messages to provide dark mode support by customizing colors. The solution was to disable visual…

Windows development Windows API - Win32
asked 2025-04-22T18:49:32.52+00:00
Jain Zachariah 0 Reputation points
edited a comment 2025-04-23T07:16:13.26+00:00
Castorix31 90,521 Reputation points
0 answers

What should I do about this Windows Authoring Guide infinite login loop?

I’m trying to contribute to this GitHub repository: https://github.com/MicrosoftDocs/win32. Its CONTRIBUTING.md file says: You can find guidance on using this repo in the Windows Authoring Guide. Whenever I click on that Windows Authoring Guide link,…

Windows development Windows API - Win32
asked 2025-04-20T23:24:53.2266667+00:00
Jayman 110 Reputation points
0 answers

Behaviour of CoRegisterClassObject and PackagedCOM

I'm trying to build my CommandPalette extension, which is a out-of-process COM server. However, my native extension fails getting picked up by CoCreateInstance in CmdPal, causing a null pointer on the CmdPal side, while C#-based alternative…

Windows development Windows API - Win32
asked 2025-04-10T16:41:04.3666667+00:00
Nyuan Zhang 0 Reputation points
commented 2025-04-13T19:30:40.1133333+00:00
Darran Rowe 1,986 Reputation points
0 answers

How to use DeviceIOCommand (IOCTL_STORAGE_PROTOCOL_COMMAND) integrate with ufs device

Hi, Currently i'm working on sending query request upiu to ufs device by using DeviceIOControl(IOCTL_STORAGE_PROTOCOL_COMMAND) but i'm getting ERROR_INVALID_FUNCTION on getLastError(). Can you please provide sample code or documentation on…

Windows development Windows API - Win32
Developer technologies C++
asked 2024-07-23T07:42:03.5333333+00:00
yh_yong 0 Reputation points
commented 2025-04-07T01:45:00.2933333+00:00
Ma Ronie 0 Reputation points
0 answers

Why is there a problem with the DXGI_USAGE flag regardless of what I set it to?

My IDXGIFactory2::CreateSwapChainForComposition fails every time with the following error: DXGI ERROR: IDXGIFactory::CreateSwapChain: The BufferUsage field of the swapchain description contains some DXGI_USAGE flags that are not supported.…

Windows development Windows API - Win32
asked 2025-04-03T17:28:05.7233333+00:00
CDev-8220 365 Reputation points
commented 2025-04-04T13:47:50.07+00:00
CDev-8220 365 Reputation points
0 answers

NT Heap free list split mechanics

I am trying to develop my own Heap for an IoT platform, which is supposed to be an equivalent to the NT heap of Windows for my Masters degree. Does the allocator do anything special when it comes to chunk split from free-lists? In which cases the…

Windows development Windows API - Win32
asked 2025-03-19T11:51:33.7433333+00:00
ElonButNotMusk 0 Reputation points
commented 2025-03-24T03:18:15.86+00:00
Jeanine Zhang-MSFT 11,356 Reputation points Microsoft External Staff
0 answers

content dialog with points

This is what is happening I have an application, where you can draw on a line on a Canvas, and convert those lines in STL, and then save it on your computer private const string NanoFlowFolder = "NanoFlow"; private const int…

Windows development Windows API - Win32
asked 2025-03-08T19:54:20.94+00:00
Eduardo Gomez Romero 1,355 Reputation points
commented 2025-03-19T03:32:43.6766667+00:00
Junjie Zhu - MSFT 21,646 Reputation points
0 answers

Formatting rules for an HTTP cookie to bypass PPP authentication

Dear, I would like to know more about the possibility to bypass PPP authentication with an HTTP cookie, as described in [MS-SSTP]. ClientHTTPCookie: In this string variable, the SSTP layer stores the HTTP cookie that will be passed to the HTTPS layer…

Windows development Windows API - Win32
asked 2025-03-11T17:24:28.0533333+00:00
TVB 0 Reputation points
commented 2025-03-19T02:54:43.23+00:00
Jeanine Zhang-MSFT 11,356 Reputation points Microsoft External Staff
0 answers

Where has windows::Win32::Foundation::BOOL been moved to?

https://crates.io/crates/windows version: 0.60.0 error[E0432]: unresolved import `windows::Win32::Foundation::BOOL` --> src\window\setup.rs:32:20 | 32 | Foundation::{BOOL, HWND}, | ^^^^ no `BOOL` in…

Windows development Windows API - Win32
asked 2025-03-11T06:59:53.19+00:00
lanten 0 Reputation points
edited a comment 2025-03-11T12:25:59.63+00:00
Viorel 122.5K Reputation points