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

Sort by: Updated
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
1 answer

how to convert IMFMediaBuffer to ID3D11Texture2D?

I am using IMFTransform and there is IMFMediaBuffer that format is DXGI_Format_NV12 and I use this code: BYTE* ppbBuffer3 = NULL; DWORD pcbMaxLength = 0, pcbCurrentLength = 0; buff->Lock(&ppbBuffer3, &pcbMaxLength,…

Windows development | Windows API - Win32
asked 2025-05-30T11:30:07.4233333+00:00
mc 5,431 Reputation points
commented 2025-06-03T14:58:09.9466667+00:00
mc 5,431 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
1 answer

How to read PDF file from the disk and print it using printer in C++/winrt/win32 app

I have a PDF file stored at some location filePath, I want to read PDF and print it using printer (I have printer name). How can I achieve it in C++/winrt/win32 desktop application.

Windows development | Windows API - Win32
asked 2024-04-02T11:11:15.68+00:00
Shyam Butani 380 Reputation points
commented 2025-06-02T08:36:37.95+00:00
Shyam Butani 380 Reputation points
1 answer One of the answers was accepted by the question author.

Can encrypted folders or files be prevented from reuploading?

How could users encrypt folders or files, so that it can be prevented from uploading? Would it take a console command line library in Windows shell? I am certain that there are many options for users who want to their future products from…

Windows development | Windows API - Win32
Windows for business | Windows Server | User experience | Other
asked 2020-12-25T09:22:15.687+00:00
JohnCTX 636 Reputation points
edited the question 2025-05-29T21:59:04.6633333+00:00
DillanSimmons 6 Reputation points Admin
2 answers

Remote Desktop Services - Disable RPC calls from another machine

Hi, Is it possible to disable Remote Desktop Services RPC calls from remote machines? I'm referring to the "Terminal Services Terminal Server Runtime Interface Protocol": …

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Server | User experience | Other
asked 2020-11-21T21:52:05.63+00:00
gabriel sztejnworcel 31 Reputation points
edited the question 2025-05-29T21:52:36.76+00:00
DillanSimmons 6 Reputation points Admin
1 answer

Why does GetFileVersionInfo return incorrect File Versions for DLLs?

The goal is to retrieve the File Versions of DLLs from the file's "Properties" -> "Details" tab using the Version Information functions listed here. However, when accessing DLLs in the Windows system directories (SysWOW64 and…

Windows development | Windows API - Win32
asked 2025-05-28T14:58:09.8833333+00:00
Nagy Balazs 0 Reputation points
commented 2025-05-29T17:47:24.7233333+00:00
David Lowndes 2,640 Reputation points MVP
6 answers

SetWindowDisplayAffinity bad usecase

Hey, We have a classroom of exam computers that are monitored by the class admin through a remote feed that uses the Windows API to take screenshots at specified intervals. Some students have found that if they execute an app with…

Windows development | Windows API - Win32
asked 2024-04-10T09:58:17.7933333+00:00
Marius Ukt 0 Reputation points
answered 2025-05-28T02:53:14.68+00:00
尼玛 王 0 Reputation points
1 answer

can not connect to the server?

I want to connect to the server but there is error:10047 s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (s == INVALID_SOCKET) { WSACleanup(); return; } sockaddr_in sock; sock.sin_family = AF_INET; sock.sin_port =…

Windows development | Windows API - Win32
asked 2025-05-21T07:46:54.5+00:00
mc 5,431 Reputation points
answered 2025-05-21T08:05:15.64+00:00
LISBOA-4826 245 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

what is the function in direct2d

there is function addline in pcl visualizer what is the same that in direct2d? I have many slices I want to use it in direct2d the slices is pcl::PointXYZ and how to use it in direct2d?

Windows development | Windows API - Win32
asked 2025-05-11T22:51:21.3733333+00:00
mc 5,431 Reputation points
accepted 2025-05-17T11:11:34.9933333+00:00
mc 5,431 Reputation points
1 answer

WMI provider sample code and customised provider fails to work with WmiPrvSe

Hi I'm not sure whether this is the right thread, however I discovered that creating the WMI provider could be a tricky Also, the sample code from Microsoft does not work. …

Windows development | Windows API - Win32
asked 2025-05-09T09:41:43.7933333+00:00
AndreyV 0 Reputation points
commented 2025-05-13T06:59:46.39+00:00
RLWA32 49,551 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,431 Reputation points
commented 2025-05-11T07:29:09.8833333+00:00
Castorix31 90,686 Reputation points
1 answer One of the answers was accepted by the question author.

how to draw 3d in direct3d?

I want to draw 3d using some values. can I do it? what 's more can I compare two 3d 's difference and get new 3d?

Windows development | Windows API - Win32
asked 2025-05-02T11:55:42.8333333+00:00
mc 5,431 Reputation points
commented 2025-05-11T01:21:46.3+00:00
mc 5,431 Reputation points
3 answers

Why is the idFrom field in the NMHDR struct a UINT_PTR type? Control identifiers are 16-bit unsigned.

Can I assume that all control identifiers will fit in an unsigned 16-bit field for the WM_NOTIFY message? I have the same question about control notification codes even though the NMHDR uses a 32-bit integer for the codes. This is true for WM_COMMAND…

Windows development | Windows API - Win32
asked 2025-05-08T03:55:09.8733333+00:00
Anthony Bourque 0 Reputation points
answered 2025-05-08T19:52:43.33+00:00
Darran Rowe 1,991 Reputation points
4 answers One of the answers was accepted by the question author.

Change Accent Color for Taskbar on Windows 11 via Registry

Hi, I would like to know, how to change registry Accent Color value for Taskbar. This color of Taskbar appears, when I change HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\ColorPrevalence to 1

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
asked 2024-09-09T10:51:55.53+00:00
Jacob Mordon 225 Reputation points
answered 2025-05-07T12:21:57.42+00:00
Pavel yannara Mirochnitchenko 13,336 Reputation points MVP
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
1 answer

How do I get the current FPS of an application through C++?

Hello! I'm thinking about creating an application which would display the current framerate. I would like to find out if there's a way I can query the FPS a game is running at. It's definitely possible, as apps such as Xbox Game Bar can display the FPS…

Windows development | Windows API - Win32
asked 2025-05-03T04:07:22.0366667+00:00
Noah Thompson 5 Reputation points
edited an answer 2025-05-03T08:22:03.9666667+00:00
Castorix31 90,686 Reputation points
2 answers One of the answers was accepted by the question author.

what is the difference between RenderTarget.DrawTextW and DWrite?

there is DrawTextW in d2d1 and DWrite can also draw text. what is the difference?

Windows development | Windows API - Win32
asked 2025-05-02T11:40:37.33+00:00
mc 5,431 Reputation points
accepted 2025-05-03T03:28:12.0233333+00:00
mc 5,431 Reputation points