2,592 questions with Windows API - Win32 tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Taskbar Color Reverts When Changing Color Using SetWindowCompositionAttribute in WinUI3

Hi, I am encountering an issue with the taskbar color on Windows. When I change the taskbar color using the SetWindowCompositionAttribute method, the color initially changes as expected. However, as soon as I click the 'Start' button, the taskbar color…

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,332 questions
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.
780 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,592 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,858 questions
asked 2024-09-10T06:38:06.4466667+00:00
Jacob Mordon 225 Reputation points
accepted 2024-09-12T08:54:13.6366667+00:00
Jacob Mordon 225 Reputation points
1 answer

How Do I Customize The Appearance of Custom Controls in the Windows API

Hi, I Am Using Mingw-W64 As My Compiler. How Do I Customize the Appearance of controls. I Know How To Enable Visual Styles. But, I Would like to know if there is a way to Customize The Look of controls Easily, Have Effects, Etc..., Preferably Without…

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,592 questions
asked 2024-09-05T11:10:59.83+00:00
Diya Al deen 20 Reputation points
commented 2024-09-11T06:29:46.12+00:00
Roy Li - MSFT 33,001 Reputation points Microsoft Vendor
1 answer

PktmonApi.dll does not contain the functions specified in the documentation

Hello, I am trying to use the PktmonApi.dll as described here. The information box states that there is no header and instead you load the DLL at runtime and pull out the function addresses using GetProcAddress. On the reference page it lists a bunch of…

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,592 questions
asked 2024-09-03T12:24:32.49+00:00
Robert Altner 0 Reputation points
commented 2024-09-11T03:31:17.3466667+00:00
Jeanine Zhang-MSFT 9,666 Reputation points Microsoft Vendor
1 answer

How to learn about WFP ?

i want to learn what is wfp and to set it up in my PC and create my own filters so any idea how to do that? also any resources i can learn it fast?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,500 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,592 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,941 questions
Windows Network
Windows Network
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.Network: A group of devices that communicate either wirelessly or via a physical connection.
741 questions
asked 2024-09-04T17:35:48.2933333+00:00
Satyam mengshetti 0 Reputation points
commented 2024-09-10T08:29:59.1866667+00:00
Roy Li - MSFT 33,001 Reputation points Microsoft Vendor
0 answers

Virtual Camera - Capture Image frame from Opencv and pass to Directshow Filter for virtual Camera application

I am working on a virtual camera application . This virtual camera should be able to shown under the list of available camera device from application like Zoom . Now in my application there are two part . One part is Directshow capture source filter 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,592 questions
asked 2021-02-11T13:17:44.303+00:00
zulfiker shishir 1 Reputation point
commented 2024-09-06T04:20:10.58+00:00
Vivek N 0 Reputation points
1 answer One of the answers was accepted by the question author.

how to get the (s,s1) in the arrow?using direct2d?

I draw a line and I know the two points one of them is (x,y) and then I want to draw arraw. and I can not get the axis of the (s,s1) because the arraw may have different directions.

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,592 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,693 questions
asked 2024-09-03T10:57:00.9+00:00
mc 4,436 Reputation points
commented 2024-09-04T15:02:14.86+00:00
mc 4,436 Reputation points
2 answers One of the answers was accepted by the question author.

[TSF-Application]How to obtain the localized name of the text service (TIP)

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,592 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,693 questions
asked 2021-08-12T09:17:33.197+00:00
Windmill_City 206 Reputation points
edited a comment 2024-09-04T11:56:05.6+00:00
Dmytro Riazantsev 5 Reputation points
1 answer One of the answers was accepted by the question author.

Win32Api Network Adapter set Power Managament

Hello! I want to change Network adapter's power managament settings. I want to check 3 checkboxes. I searched this on google but i couldn't successfull. I changed…

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,592 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,693 questions
asked 2020-10-31T13:30:49.527+00:00
Emre Demircan 21 Reputation points
commented 2024-09-04T08:02:29.9233333+00:00
Boris 1 Reputation point
1 answer One of the answers was accepted by the question author.

How to retrieve clipboard format and data from any application

How can I use Visual Basic (VB) to retrieve the format and data stored on the clipboard of any running application? I want to build a tool that extracts this information. As you can see in the program, I copy and paste the rectangle. I want to retrieve…

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,592 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-08-31T17:49:36.1866667+00:00
Mansour_Dalir 1,856 Reputation points
edited a comment 2024-09-04T03:46:09.28+00:00
Mansour_Dalir 1,856 Reputation points
2 answers One of the answers was accepted by the question author.

How to create the MouseDown event on the desktop screen

How can I create a MouseDown event on the desktop screen using Visual Basic? I want to trigger a specific action when the left mouse button is clicked. Any suggestions or examples would be appreciated. I got such a response, but it is not possible to…

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,592 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-09-03T05:56:47.2033333+00:00
Mansour_Dalir 1,856 Reputation points
edited a comment 2024-09-03T09:26:47.78+00:00
Mansour_Dalir 1,856 Reputation points
0 answers

TSF/IME question. (programming issue)

I am currently developing a ThirdParty Hangul IME using Microsoft text service framework (aka TSF). I have one problem, which I am not able to solve. I have 2 questions. TSF related question. ITfLangBarItemButton::InitMenu(ITfMenu *pMenu) is not…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,500 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,592 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,478 questions
asked 2024-09-03T06:20:17.2466667+00:00
HyungJu Lee 0 Reputation points
edited a comment 2024-09-03T08:14:08.6766667+00:00
Xiaopo Yang - MSFT 12,726 Reputation points Microsoft Vendor
1 answer

How to automatically download trusted root certificate authority

There is a difference in behavior with the open-source curl.exe, and the curl.exe natively included in Windows. When making a request with Windows native curl.exe, if a trusted root certificate authority such as one listed here is not found in the local…

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,592 questions
asked 2024-08-28T18:38:26.6466667+00:00
eric_s 0 Reputation points
commented 2024-09-03T07:52:19.64+00:00
Tong Xu - MSFT 2,456 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Why does WerRegisterAppLocalDump API not work with packaged apps?

Hello, I tried to use the WerRegisterAppLocalDump API in a packaged WinUI 3 app. The function returns HRESULT 0, so success. But if you try to crash the app, no crash dump file is created in any directory of the app data (especially not "relative…

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.
780 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,592 questions
asked 2024-08-26T10:56:39.57+00:00
Whiskhub 25 Reputation points
accepted 2024-09-03T06:45:36.67+00:00
Whiskhub 25 Reputation points
1 answer One of the answers was accepted by the question author.

How to Add Tooltips to Buttons and other UI Components (like - Checkbox, Radio button etc) in Win32 (C++) Desktop Application?

Hi there, I have a Win32 (C++) program on which I want to Add some Tooltips to some of it's UI components like - Button, Checkbox, Radio button. I tried a lot but nothing works. Here is my Demo program : #include <windows.h> struct { int…

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.
780 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,592 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,693 questions
asked 2024-08-27T14:38:58.41+00:00
MERUN KUMAR MAITY 576 Reputation points
accepted 2024-09-02T07:51:55.9766667+00:00
MERUN KUMAR MAITY 576 Reputation points
1 answer

Register Audio Codec (IMFTransform) to be seen in media player

I've successfully registered an audio codec (x64,x86) for Media Foundation and third-party apps to use. MF can load an MP4 which contains audio compressed with it. However, the default Windows 11 Media Player won't. As I see, my DLL is not even loaded,…

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,592 questions
asked 2024-08-29T03:28:42.91+00:00
Michael Chourdakis 66 Reputation points
commented 2024-09-02T01:19:19.8466667+00:00
Tong Xu - MSFT 2,456 Reputation points Microsoft Vendor
1 answer

How to Implement an Additional Biometric Layer After Basic Authentication in Windows Using a Custom Credential Provider?

By default Windows has a basic (e.g. password or pin ...) authentication-flow for PC machines. Our goal is to extend current level of authentication with additional biometric factors (e.g. fingerprint, 3D-face ...) to be implemented by 3rd-party vendors…

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,332 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,592 questions
asked 2024-08-12T06:00:31.9+00:00
Auishik Pyne 5 Reputation points
commented 2024-09-02T01:00:59.14+00:00
Xiaopo Yang - MSFT 12,726 Reputation points Microsoft Vendor
0 answers

FwpmFilterAdd occasionally fails with return code 31

I am creating Ipsec tunnel using Windows Filtering Platform API in the process. Code is on the line of example provided at https://learn.microsoft.com/en-us/windows/win32/fwp/using-transport-mode Code works 95% percent of the times But for some…

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,708 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,592 questions
asked 2024-08-22T08:51:14.0133333+00:00
Pankaj Mehta 0 Reputation points
commented 2024-09-02T00:56:33.44+00:00
Jeanine Zhang-MSFT 9,666 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

access excption or stack broken when I show the IFileOpenDialog in second time?

I want to use IFileOpenDialog int DialogBox CoCreateInstance(CLSID_FileOpenDialog,NULL,CLSCTX_INPROC_SERVER,__uuidof(IFileOpenDialog),(void**)&file); DWORD dwFlags; file->GetOptions(&dwFlags); file->SetOptions(dwFlags|FOS_PICKFOLDERS); in…

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,592 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,693 questions
asked 2024-09-01T04:29:19.6866667+00:00
mc 4,436 Reputation points
accepted 2024-09-01T08:09:16.65+00:00
mc 4,436 Reputation points
2 answers

how to not paint window any more?

I create a window and I do not want it re- render itselft. I will draw something in WM_CREATE and then it do not render again. how to do it? no matter I maximize or minimalize it will not render itsselft.

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,592 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,693 questions
asked 2024-08-29T06:29:46.69+00:00
mc 4,436 Reputation points
commented 2024-08-30T01:38:04.81+00:00
Xiaopo Yang - MSFT 12,726 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to display menu by NotifyIcon without displaying the form in Taskbar

I have a form with a NotifyIcon and a ContextMenuStrip and I want to display the menu by clicking on the notification, but unfortunately it is displayed in the taskbar. Why? I tried setting the ShowInTaskbar property to false, but it didn't work.Tip Only…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 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,592 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
asked 2024-08-10T19:15:01.1466667+00:00
Mansour_Dalir 1,856 Reputation points
edited the question 2024-08-29T19:14:51.8933333+00:00
Mansour_Dalir 1,856 Reputation points