2,785 questions with Windows development | Windows API - Win32 tags
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
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
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
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
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
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

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

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
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
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
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
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
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
how to load .stl to direct3d?
I wonder how to use the file and thank you very much.
Windows development | Windows API - Win32

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
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
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

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
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


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