2,424 questions with Windows API - Win32 tags

Sort by: Updated
2 answers

Perfomance counter and instance names

Hi! Are there any api functions to map process id with its instance name in the following performance categories without using counter "\process\id process" process http service request queues asp.net applications https…

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,424 questions
asked 2020-08-11T08:48:05.37+00:00
Oleg Gussak 1 Reputation point
commented 2020-08-28T08:52:18.217+00:00
Rita Han - MSFT 2,161 Reputation points
0 answers

AccessCheck() and MoveFileEx() doesn't work with network mapped driver

Hi We have a NAS installed locally and mapped a folder as local driver letter, such W . Here uses credential from NAS to establish the mapping from NAS folder to local driver letter, not from Windows Active Directory. And user account is local. Any…

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,424 questions
asked 2020-08-27T07:32:10.23+00:00
Bo Zhou 1 Reputation point
commented 2020-08-27T09:39:46.8+00:00
Rita Han - MSFT 2,161 Reputation points
0 answers

WINPE 20H1 print screen capture doesn't capture all

Can someone help me. I have a capture program it can capture all window(cmd window) in winpe 19H2, but winpe 20H1 fail as picture. winpe boot into cmd window. I use below code to capture window desktop all window. I try to change…

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,424 questions
asked 2020-08-27T03:19:37.617+00:00
103 1 Reputation point
commented 2020-08-27T05:48:49.183+00:00
Drake Wu - MSFT 991 Reputation points
0 answers

Is there any way to create a virtual Speaker or Mic in C#?

And then the final Speaker/Mic can be specified through the api. Or I should ask, what is more reasonable to describe the technology or product that can do this?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,676 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,424 questions
asked 2020-08-25T03:44:15.337+00:00
Victor Chen 106 Reputation points
commented 2020-08-26T01:34:01.553+00:00
DaisyTian-1203 11,616 Reputation points
0 answers

c++ load dll from resource directly

I want load dll from resource. Unfortunately I can only find examples for load dll with unpack the dll in to disk and then load it from LoadLibrary. But I want load it directly from memory if possible. How to do that? FindResource and LoadResource load…

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,424 questions
asked 2020-08-23T17:37:54.61+00:00
Code Wanderer 396 Reputation points
commented 2020-08-24T10:25:31.697+00:00
RLWA32 40,471 Reputation points
4 answers One of the answers was accepted by the question author.

Force keyboard in digits mode

Hello, with my team we are developing a C++ Windows application which is based on Qt library for the UI part and on Win32 API for the rest. The minimum Windows version supported is Windows 8.1. In the application there are some text fields which…

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,424 questions
asked 2020-08-17T13:28:28.69+00:00
charles edouard vidoine 96 Reputation points
commented 2020-08-21T13:07:51.37+00:00
charles edouard vidoine 96 Reputation points
1 answer One of the answers was accepted by the question author.

IMFDXGIBuffer interface not found

IMFDXGIBuffer interface is missing on Windows Server 2016. I have installed "Media Foundation" feature, but the problem still exists. Also latest DirectX is installed.. What could cause this issue?

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,424 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,535 questions
asked 2020-08-17T10:17:23.413+00:00
iz111 86 Reputation points
accepted 2020-08-20T08:58:34.233+00:00
iz111 86 Reputation points
1 answer

direct2d resizing the geometry without scale, how to?

Hello I am playing with Direct2D, I was read tutorials (or how to) and documentation from microsoft site, but I still can't find info, how to resize a geometry. For example in this sample is show how is ellipse created and resized with mouse. I want…

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,424 questions
asked 2020-08-17T16:03:31.787+00:00
Code Wanderer 396 Reputation points
commented 2020-08-18T12:36:19.673+00:00
Darran Rowe 561 Reputation points
0 answers

Why are all my threads being momentarily paused?

Hi, I've been struggling with this for weeks. I have several audio threads in my application (they all have high priorities in the 20's from the multimedia class scheduler service). They are often held up for long periods of time (100ms, 300ms, even…

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,424 questions
asked 2020-08-04T16:30:08.917+00:00
PlatypusPotato 1 Reputation point
commented 2020-08-18T07:24:58.507+00:00
Carl 1 Reputation point
0 answers

Windows V2004 causes our app to show "You'll need a new app to open this ms-gamingoverlay link"

Now that Windows 10 v2004 is out, I have reports that our desktop application starts up and then the user is presented with a message: "You'll need a new app to open this ms-gamingoverlay link" Unfortunately I don't have access to this OS due…

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,424 questions
asked 2020-07-29T21:13:56.667+00:00
Holland, RD (DI SW ME PRD SDE AS) 31 Reputation points
commented 2020-08-17T16:44:55.32+00:00
Holland, RD (DI SW ME PRD SDE AS) 31 Reputation points
1 answer

Is it possible to create a simple drop shadow using GDI+ Blur?

I'm displaying bitmaps, and I'd like to add a simple drop shadow to them (like the way Explorer does in the preview pane). I figured out how to do it with Direct2D, but that was sort of overkill, so I was wondering if there's a simpler way to do it…

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,424 questions
asked 2020-08-14T12:58:13.477+00:00
loop123123 1 Reputation point
commented 2020-08-17T03:11:25.203+00:00
Rita Han - MSFT 2,161 Reputation points
1 answer

CryptUIWizDigitalSign locks a file if it fails

Hi! I have a problem using the CryptUIWizDigitalSign-Function in C#. If I pass a file via CRYPTUI_WIZ_DIGITAL_SIGN_INFO-Structure that cannot be signed (i.e. Text-File), the function fails. But if i try to delete the file after the failure, the file is…

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,424 questions
asked 2020-07-28T11:02:20.867+00:00
Alexnbg72 1 Reputation point
answered 2020-08-13T10:02:46.657+00:00
Viorel 112.5K Reputation points
2 answers

KEYDOWN in COMBOBOX does not work

I need to have access to the KEYDOWN event in all the visual controls of the window, and in the instructions indicated on the next page: https://learn.microsoft.com/en-us/windows/win32/controls/subclass-a-combo-box Everything works, except that…

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,424 questions
asked 2020-08-11T16:39:57.38+00:00
Daniel de Dios El Ignorado 1 Reputation point
commented 2020-08-13T07:56:11.797+00:00
Rita Han - MSFT 2,161 Reputation points
1 answer One of the answers was accepted by the question author.

How can I check whether a certificate is CA or end entity?

Want to confirm the cert type CA or End Entity, before it is imported to the certificate store. Is there any utility function available for this. I have written the below function. But it returns always return the cert as CA. Is this have a bug or is…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,649 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,424 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,757 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,728 questions
asked 2020-08-05T06:08:09.78+00:00
Vishnu Gopalakrishnan 126 Reputation points
commented 2020-08-05T13:29:06.937+00:00
Vishnu Gopalakrishnan 126 Reputation points
1 answer

How to use bitmap for a three state check box with OBM_CHECKBOXES.

Hello, I want to use three state checkbox in the list control. Today, there is facility for normal checkbox. The bitmap for normal check box are loaded from OBM_CHECKBOXES. The problem is, I am not able to find the bitmap image for intermediate…

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,424 questions
asked 2020-07-29T02:13:21.537+00:00
Rahul Mendke 1 Reputation point
answered 2020-08-05T07:03:13.803+00:00
Rita Han - MSFT 2,161 Reputation points
1 answer One of the answers was accepted by the question author.

Magnifier Control unable to magnify the taskbar start menu

I've modified the MagnifierSample from the Windows-classic-samples, turning it into a lens magnifier. However when I open the Start Menu by pressing the Start button my magnification lens window is pushed to the background and is unable to magnify 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,424 questions
asked 2020-07-29T06:43:09.907+00:00
Johannes Bergman 41 Reputation points
commented 2020-08-04T13:48:27.283+00:00
Johannes Bergman 41 Reputation points
1 answer

Increasing Private Bytes but constant Virtual Bytes and Working Set. Genuine Memory Leak?

Hello everyone, We have developed a desktop server application which is written in C++. After running this application for 24hours, we could notice the following changes in memory usage(data collected through Perfmon). As per 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,424 questions
asked 2020-08-01T14:08:54.37+00:00
Vinay Kumar L 21 Reputation points
commented 2020-08-03T08:03:39.457+00:00
Rita Han - MSFT 2,161 Reputation points
3 answers

Can I subclass the same parent window HWND several times

In case positive, is there a penalty in performance due to this? I want to use this so each child window can process its own parent notifications. For example, a Listview subclass its parent window and process LVN_ITEMCHANGED, LVN_COLUMNCLICK, ect. An…

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,424 questions
asked 2020-07-29T19:14:21.717+00:00
Fernando Gabriel 1 Reputation point
answered 2020-07-31T12:23:26.957+00:00
RLWA32 40,471 Reputation points
2 answers

Bluetoothleapis.h and Manufacturer specific data

Hello, I am using the C API for Bluetooth Low Energy. https://learn.microsoft.com/en-us/windows/win32/api/bluetoothleapis/ I would like to retrieve the Manufacturer specific data from the advertising packets, similar to what you can do 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,424 questions
asked 2020-07-20T18:39:43.64+00:00
Jean Simonet 1 Reputation point
commented 2020-07-31T07:58:05.45+00:00
Rita Han - MSFT 2,161 Reputation points
1 answer

Want to warn when i use the same symbol defined two another library when link

I have below case: I add below code in testa.c file. extern unsigned char globaltest; void a() { if (globaltest == 3) { globaltest = 4; } } Define test lib1.lib and lib2.lib and define globaltest in those lib. Link testa.obj lib1.lib…

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,424 questions
asked 2020-07-29T02:06:12.37+00:00
Jiang, Guomin 1 Reputation point
answered 2020-07-29T17:28:36.817+00:00
Darran Rowe 561 Reputation points