2,666 questions with Windows API - Win32 tags

Sort by: Updated
1 answer

UWP pipe client and C++ Fulltrustprocess pipe server - Access to the path is denied

Hello UWP experts, I get "Access to the path is denied" when connecting a UWP namedpipeclient to C++ Fulltrust process namedpipe server in packaged (WAPP) and non packaged mode. Its a simple piece of code to see how the namedpipe works betweek…

Universal Windows Platform (UWP)
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,666 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.
11,053 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,774 questions
asked 2024-11-19T04:13:17.18+00:00
DotNET Fan 271 Reputation points
commented 2024-11-21T19:11:16.4133333+00:00
Darran Rowe 1,046 Reputation points
1 answer

does another local/offline 'api' have less lag than: Windows.Media.SpeechRecognition?

does Microsoft Speech Platform -- ISpRecoContext [Microsoft Speech Platform Microsoft Speech Platform Native Code API] perform better? i am using the windows crate with rust -- for the following. it seems like there is some lag with that api for…

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,666 questions
asked 2024-11-20T22:04:27.0166667+00:00
jasheb 0 Reputation points
commented 2024-11-21T16:03:47.94+00:00
jasheb 0 Reputation points
0 answers

Impact of Windows Edition vs. Version on API Functionality (e.g., SetWindowDisplayAffinity)

Dear Microsoft Support Team, I am a developer working with Windows APIs in C#. Recently, I've encountered an issue related to the use of certain functions and their compatibility with different versions and editions of Windows. Background: I am using the…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,773 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,666 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-11-21T08:57:07.0433333+00:00
Viet Nguyen Ho 0 Reputation points
commented 2024-11-21T15:09:30.54+00:00
EckiS 911 Reputation points
0 answers

Win32api Clipboard Open failed

I copy different content,and openClipboard。I found that it open failed with the content copy from some app,like windows text editor;

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,666 questions
asked 2024-11-21T01:55:47.9466667+00:00
MY J 0 Reputation points
commented 2024-11-21T14:59:38.0066667+00:00
MY J 0 Reputation points
0 answers

C++ RealTimeStylusAPI derives coordinates that are ten times larger than the actual coordinates.

In the following Packets in the RealTimeStylus API, I need to get the coordinates of the current input point on the screen. But strangely I found that this coordinate is normal for mouse input, while when it comes to finger and pen, the coordinate…

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,666 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,774 questions
asked 2024-11-21T13:15:05.9133333+00:00
RL Chen 250 Reputation points
0 answers

APIs for Retrieving Latest Updates of Windows 10, Windows 11, and Windows Server

After some research, a question has arisen regarding APIs that can provide information on the last updates for Windows 10, Windows 11, and Windows Server. The objective is to create KPIs that allow for comparisons between the current OS build version 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,666 questions
asked 2024-11-21T08:20:28.1933333+00:00
Y8DBYUVc_gyh 0 Reputation points
commented 2024-11-21T09:53:36.42+00:00
Y8DBYUVc_gyh 0 Reputation points
0 answers

Exception Handling in Windows

Windows provides the following exception handling frameworks: Structured Exception Handling (SEH) Vectored Exception Handling (VEH) SEH is just the Windows's version of the C++ try-catch, and documentation suggests using the C++ try-catch blocks. 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,666 questions
asked 2024-10-25T07:40:37.14+00:00
CSK 1 Reputation point
commented 2024-11-21T02:33:47.05+00:00
CSK 1 Reputation point
1 answer

How to disable frame (and titlebar) but keep resizing and snap features when using SendMessage to drag the window?

I'm trying to disable the titlebar (and frame), but keep the ability to resize the window and have it so the snap layouts work when triggering SendMessage. I have the trigger work, but when I remove all the bit flags returned from GetWindowLong that gets…

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,666 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,774 questions
asked 2024-11-19T04:56:46.9233333+00:00
Stanlyhalo 0 Reputation points
commented 2024-11-21T01:50:00.3533333+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
0 answers

How do I query Korean keyboard's hardware keyboard type?

Hello, I'm writing an application in C++, and I want to know if the user is using 2-set type Korean or 3-set type Korean (Dubeolsik or Sebeolsik). That is, I'd like to know which option the user has chosen for this: I've looked through all the functions…

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,666 questions
asked 2024-11-10T07:58:24.8866667+00:00
Joonho Hwang 0 Reputation points
commented 2024-11-21T01:48:37.2333333+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
0 answers

Win32 HDC issue

I have a problem with drawing HDC outside WM_PAINT message, I draw in function with while(true) loop void quadcycle() { while(true) { hdc = GetDC(hwnd); RECT rc = {50,50,150,150}; FillRect(hdc, &rc,…

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,666 questions
asked 2024-11-06T21:47:39.6033333+00:00
someone 20 Reputation points
commented 2024-11-21T01:48:20.0233333+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
2 answers

Where is tapimgmt.msc for Windows 11?

Hi, Can you please tell how I can get tapimgmt.msc for Windows 11 Pro or what tool has replaced it? It is not available by default and there is no Telephony option within optionalfeatures. I have already searched online but there is no mention of this…

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,666 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-11-19T12:41:23.3933333+00:00
Luke M 1 Reputation point
answered 2024-11-20T08:10:50.7466667+00:00
Castorix31 86,046 Reputation points
1 answer One of the answers was accepted by the question author.

Can native Win32 exe show a WinUI3 Page?

I need to show a WinUI3 page from a native Win32 exe. I cannot make modifications to the Win32 exe. The architecture is like this: native Win32 .exe -> links to a C++/CLI dll with a known native C++ interface C++/CLI dll -> references and makes…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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,666 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
338 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.
11,053 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,774 questions
asked 2024-11-18T15:30:26.94+00:00
Eric Brandt 25 Reputation points
edited a comment 2024-11-19T22:01:28.0833333+00:00
Eric Brandt 25 Reputation points
1 answer

Issue with IUpdateHistoryEntry2 interface

Trying to get category Ids for the installed updates on the machine. From IUpdateHistoryEntry2 we get ICategoryCollection. Which provides ICategory object on iteration. Calling get_CategoryId always returns empty. Try the same through…

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,666 questions
asked 2024-11-17T18:30:10.42+00:00
Saurabh Srivastava 0 Reputation points
commented 2024-11-18T13:25:29.1166667+00:00
RLWA32 45,706 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 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,666 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,774 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,012 questions
asked 2024-11-13T12:07:58.58+00:00
Ljungberg, Ted 0 Reputation points
commented 2024-11-15T05:48:12.8333333+00:00
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
0 answers

Help with Windows Named Pipes

Win32 experts, I'm writing an app that includes a master process written in C# that forks a subprocess written in Python and compiled into an exe. I am attempting to open named pipe between the two and despite working through all online tips and all…

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,539 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,666 questions
asked 2024-11-13T15:36:38.7066667+00:00
Ken Gibson 0 Reputation points
commented 2024-11-14T21:34:41.0433333+00:00
Ken Gibson 0 Reputation points
0 answers

MIDL Compiler generates wrong year

Using the MIDL compiler with IDL statements to generate a .TLB file, the compiler inserts a text line into the .TLB such as: Created by MIDL version 8.01.0628 at Mon Jan 18 19:14:07 2038. The year should be the year the .TLB was created (e.g., 2024), NOT…

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,666 questions
asked 2024-11-11T17:47:47.58+00:00
RDan 0 Reputation points
commented 2024-11-12T10:26:56.32+00:00
RLWA32 45,706 Reputation points
2 answers One of the answers was accepted by the question author.

Is user32.dll has any dependency?

I want to use HDC to draw text in android. So can I copy user32.dll to android and then use HDC ? to get bitmap with some text? I will specify font and font-size

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,666 questions
asked 2024-11-07T03:17:11.1033333+00:00
mc 4,716 Reputation points
accepted 2024-11-12T07:15:54.42+00:00
mc 4,716 Reputation points
0 answers

why some language will change when remove some code?

in some contries language like Arab the text will change its shape when remove some of them. مرحبا I just remove last one مرحب the first will change too I remove again. مرح you can see it totally changed. حبا to ح what I want to do is to create each…

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,666 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,774 questions
asked 2024-11-08T02:58:22.0466667+00:00
mc 4,716 Reputation points
commented 2024-11-09T23:01:49.48+00:00
Darran Rowe 1,046 Reputation points
1 answer One of the answers was accepted by the question author.

how to create ID2D1Bitmap using direct2d?

how to load bitmap there is png file and how to create ID2D1Bitmap?

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,666 questions
asked 2024-11-03T15:21:44.5466667+00:00
mc 4,716 Reputation points
commented 2024-11-08T07:43:08.2366667+00:00
mc 4,716 Reputation points
0 answers

The behavior of the SetWindowDisplayAffinity API differs depending on the Windows 10 build version.

The behavior of the SetWindowDisplayAffinity API differs depending on the Windows 10 build version. API: SetWindowDisplayAffinity(hwnd, WDA_MONITOR); Windows 10 1909 (18363.418): Works correctly; when my dialog is captured, it turns black. Windows 10…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,773 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,666 questions
asked 2024-11-07T04:34:36.78+00:00
영준 최 0 Reputation points
commented 2024-11-07T08:05:02.7233333+00:00
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor