2,634 questions with Windows API - Win32 tags

Sort by: Updated
0 answers

Why GetPerTcpConnectionEStats always return strange value.

I have following code to read TCP congestion stats: Tried a whole day, the read out path_rod is always strange, like: What should I try next?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-18T14:01:09.1966667+00:00
xing-9122 0 Reputation points
commented 2024-10-19T11:22:24.32+00:00
Castorix31 85,546 Reputation points
0 answers

Crash issue from Microsoft official Win32 C++ custom WinRT XAML control tutorial

Build was ok, but got a crash after following the official Microsoft official Win32 custom WinRT XAML control tutorial https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands/host-custom-control-with-xaml-islands-cpp: Clicking…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
812 questions
asked 2024-10-18T02:50:15.38+00:00
KKL 0 Reputation points
commented 2024-10-18T10:46:30.59+00:00
KKL 0 Reputation points
0 answers

signature verification issue with crypt32.dll CryptMsgControl api

We have an application which transfer EDI documents using AS2 protocol where When we send data to one of our business partner and try to verify the signature of the MDN that business partner return to us and we can`t verify the signature of the MDN that…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,427 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
asked 2024-10-11T14:56:22.9666667+00:00
Mehul Donga 0 Reputation points
commented 2024-10-18T08:19:48.54+00:00
Mehul Donga 0 Reputation points
0 answers

negative distance retrieved from GetGestureInfo

I have a secondary monitor with a touch screen. When handling the WM_GESTURE message with dwID GID_ZOOM, the low 32-bit of the ullArguments retrieved from GetGestureInfo, which indicates the distance between the two points as documented, is negative if I…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-16T08:38:26.68+00:00
孟轩 郝 6 Reputation points
commented 2024-10-18T08:14:04.5066667+00:00
David Lowndes 2,535 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to get or/and execute context menu verbs knowing path of item

Hello, can you please tell me how to get information about commands from the windows context menu, I need to get all the commands for an element by its path, and if it is possible to run the command (verb) as if you clicked on it in the context menu.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,427 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,962 questions
asked 2024-10-17T17:25:50.0333333+00:00
123244 60 Reputation points
commented 2024-10-18T06:35:36.2933333+00:00
123244 60 Reputation points
2 answers One of the answers was accepted by the question author.

The unmonitored process is in progress, however it may timeout. (0x87D300C9) intune win32 app deployment company portal

The unmonitored process is in progress, however it may timeout. (0x87D300C9) intune win32 app deployment company portal the above error got Intune win32 app deployment through company portal , Above installation command

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
945 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,110 questions
asked 2024-10-17T13:25:33.15+00:00
Rijo Joy 60 Reputation points
commented 2024-10-18T06:22:47.9033333+00:00
Crystal-MSFT 48,931 Reputation points Microsoft Vendor
3 answers

WSUSSCN2.cab file for Windows 11

I have been using a the wsusscn2.cab file and WUA in a script for years to determine the latest non-superseded applicable UpdatesIDs so that I can download them and bring them to my offline networks. Now that we are moving to Windows 11 it seems to me…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,917 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-06-13T15:51:07.07+00:00
ArmoredEmu01 0 Reputation points
answered 2024-10-17T20:38:51.3233333+00:00
ArmoredEmu01 0 Reputation points
0 answers

MAPILOGON returns -2147467259 for Outlook 2021

MAPILOGON is called with the following parameters: 0L, // Handle to parent window or 0. NULL, // Default profile name to use for MAPI session. NULL, // User password for MAPI session. 0L, // Various session…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,901 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-13T02:48:58.7066667+00:00
Deng, Yiming (Consultant) 0 Reputation points
commented 2024-10-17T14:59:45.39+00:00
Deng, Yiming (Consultant) 0 Reputation points
0 answers

'SysListView32' Bug with multiple items selection: still not fixed in Windows 11 23H2

When I use our own 32 bit application, the mouse cursor still jumps to a corner when I do the lasso selection in a listview (click and drag a rectangle to select multiple listview items). From what I've found in the internet, the program might use a…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-10-16T14:45:32.1733333+00:00
HenningD 0 Reputation points
edited a comment 2024-10-17T11:43:29.3733333+00:00
RLWA32 45,576 Reputation points
0 answers

How to use Region (Win GDI) APIs on top of Xaml Island window

Hello, I want to draw different shapes in WinRT/C++ application using Region APIs. It is Windows Desktop Application with Xaml Island. I'm creating child window of the Xaml Island window, and then trying to use Region APIs to draw rectangle on this…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-15T09:20:10.1033333+00:00
Shyam Butani 235 Reputation points
commented 2024-10-17T05:29:00.64+00:00
Shyam Butani 235 Reputation points
0 answers

Problem with HLSL shaders.

I'm working with D3D12, and I've run into another problem. I managed to fix my command list problem, but apparently something is going wrong with my shaders? My code currently is struct Vertex { DirectX::XMFLOAT3 position; // 3D position …

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
asked 2024-10-05T14:22:18.94+00:00
CakeDev 50 Reputation points
commented 2024-10-16T13:43:49.61+00:00
CakeDev 50 Reputation points
1 answer One of the answers was accepted by the question author.

Why the Windows SDK version 10.0.22621.3235 can't be found on the SDK archive page

On the SDK download page there is a Windows 11 SDK version 10.0.22621.3235. There are only 2 newer versions after this one (so it is a recent version released on 2/29/2024). But on the archive page this version (10.0.22621.3235) can't be found. The…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-14T18:40:18.82+00:00
Zsolt Kántor 80 Reputation points
accepted 2024-10-16T11:16:00.6133333+00:00
Zsolt Kántor 80 Reputation points
0 answers

SetLayeredWindowAttributes() is no work

this winapi <SetLayeredWindowAttributes()> in d3d12 is no work , but it in d3d9-11 is work , i want to use in d3d12 , why dose this problem arise ? what should i do ?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-15T18:09:44.7633333+00:00
志鸿 吴 0 Reputation points
commented 2024-10-15T18:37:01.5433333+00:00
Darran Rowe 1,016 Reputation points
2 answers

How to make BitBlt() draw in right-to-left orientation?

Hello, I'm using BitBlt() to paint a horizontal bar on top of a splitter in my app, which supports languages that follow left-to-right orientation (English), as well as, right-to-left orientation (Arabic). BitBlt() seems to pretty much follow…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-04T11:08:25.4166667+00:00
learner 0 Reputation points
commented 2024-10-15T17:48:16.31+00:00
learner 0 Reputation points
1 answer One of the answers was accepted by the question author.

Can we use both WinUI3 controls and Win32 controls in a WinUI3 application?

Hi, I'm using WinUI3 application, As we can extract HWND from WinUI3 window, and we can attach Window Proc with SetWindowSubclass and manage WM_* messages, I was wondering if we can use Win32 controls and WinUI3 controls at the same time. I was…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
asked 2022-12-05T06:13:30.36+00:00
Harshithraj1871 1,536 Reputation points
edited a comment 2024-10-15T08:06:23.9266667+00:00
Shyam Butani 235 Reputation points
0 answers

[Bug Report] cfapi: CreateFileMapping causes full placeholder hydration ignoring CF_HYDRATION_POLICY_PROGRESSIVE

Hi! My company is on the verge of releasing an update to our Sync Engine implementation with PROGRESSIVE hydration support and we recently found out that its not working properly with file mapping, i.e. any call to CreateFileMapping causes full hydration…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-13T22:42:52.6566667+00:00
Max 1 Reputation point
commented 2024-10-15T07:35:06.1+00:00
Jeanine Zhang-MSFT 9,756 Reputation points Microsoft Vendor
0 answers

Why doesn't GetNameInfo win32 api resolve Chinese computer names on Windows 11?

0 I have a small lab based Active Directory environment with 3 devices. They have the following OS installed. DC running Windows Server 2022 hosting my AD server. 1.Endpoint running Windows 10 Pro (22H2 Build 19045.4780) [English US installation and…

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-10-01T07:31:51.6766667+00:00
Arif Waqas 0 Reputation points
commented 2024-10-15T03:21:32.87+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
1 answer

How to make XAudio2 throw a Device Lost flag/error?

Hi, I was wondering how I can produce a Device Lost message for XAudio2. I tried using the dxcaps -forcetdr command in the Developer Command Prompt window for Visual Studio, but it did not work. I am using C++ and programming for Windows 10. Derek

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
C++
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.
3,742 questions
asked 2024-10-01T02:15:50.39+00:00
Derek Todd 0 Reputation points
commented 2024-10-15T03:20:15.9533333+00:00
Roy Li - MSFT 33,366 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Windows SDK versions are not clear for me

Hello! On the https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ page the latest SDK version is 10.0.26100, however Wikipedia tells that the stable release is 10.0.22621.0 (which is on the SDK archive page). Maybe the wiki page is not…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
787 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-12T18:19:15.7766667+00:00
Zsolt Kántor 80 Reputation points
commented 2024-10-13T13:31:58.6566667+00:00
Zsolt Kántor 80 Reputation points
0 answers

Do you have the documentation for the api in mmmixer.dll (circa 1994-1997)?

I'm looking for the header files and documentation for API embedded in the mmmixer.dll of the 1990's.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,634 questions
asked 2024-10-12T13:09:55.4866667+00:00
Allan W 0 Reputation points
commented 2024-10-13T13:22:09.53+00:00
Castorix31 85,546 Reputation points