2,498 questions with Windows API - Win32 tags

Sort by: Updated
0 answers

embedded camera driver; UVC descriptors: MMF producing error 0x80070491, DirectShow OK

We are developing a camera. We have two resolution versions, low res 384 x 290 and medium res 640 x 481. The low and medium versions work with DirectShow (either GraphEdt or VLC) on Win10. The low res works with Windows Camera, but not the med res…

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,498 questions
asked 2020-09-30T13:35:30.857+00:00
Benh 1 Reputation point
commented 2020-10-19T02:13:16.993+00:00
Fei Xue - MSFT 1,111 Reputation points
2 answers One of the answers was accepted by the question author.

Some on Docs mentioned errorcodes are not in the latest SDK.

Hi, While working om WASAPI, I noticed some error result codes from the AudioClient are documented on Docs but not present in the latest SDK. These are: AUDCLNT_E_INVALIDTYPE and AUDCLNT_E_DEVICEINVALIDATED. And which headerfile should contain…

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,498 questions
asked 2020-10-15T18:19:25.993+00:00
Tony 96 Reputation points
accepted 2020-10-16T09:47:40.203+00:00
Tony 96 Reputation points
0 answers

Media Topology error in Windows 10 OS 2004 verison

Hi, We have developed a streaming and video recording application using MediaTopology. It works fine with Windows 8.1 OS and Windows 10 OS ( except 2004 version ). Error code: 0xc00d5214 What could be the possible reason for this issue 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,498 questions
asked 2020-10-01T07:52:25.393+00:00
Kirubakaran K 1 Reputation point
commented 2020-10-16T09:15:02.427+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer

Global Atom Table - '-D4%' prefixed atoms

Trying to get an answser to the following: Here's what we see if we batch convert text document through word over a 1 hour period, converting 10 in parallel at a time on an 8 core system: Atom Monitor 1.4 Pattern: ControlOfs[0-9A-Z!?/+-]+ Counts: 2 …

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,498 questions
asked 2020-09-28T18:47:37.343+00:00
Robert Massart 6 Reputation points
commented 2020-10-16T02:50:32.69+00:00
Fei Xue - MSFT 1,111 Reputation points
1 answer One of the answers was accepted by the question author.

Can't get the module name for a process

I can't get any names for the exe files of processes... Any ideas whats wrong here ? LONG findprogram() { LONG count; DWORD aProcesses[1024],cbNeeded,cProcesses,processID,CurrentProcessId,lpExitCode; unsigned int i; std::wstring…

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,498 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,612 questions
asked 2020-10-13T04:12:00.96+00:00
Jim Seekamp 26 Reputation points
commented 2020-10-13T18:00:10.71+00:00
Jim Seekamp 26 Reputation points
2 answers One of the answers was accepted by the question author.

Discrepency between powershell & dumpbin when duping dll arch

Hi, I'm on win10-2004 (19401-508) with Visual Studio 2019 (16.5.4). Porting a 32bit app to 64bit. Removed all references to 32bit from ALL build properties, but seeing 32bit dlls? Using powershell & dumpbin I'm seeing a discrepancy in which arch…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 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,498 questions
asked 2020-10-07T06:21:58.173+00:00
TuttiPazzi 21 Reputation points
accepted 2020-10-13T06:08:58.243+00:00
TuttiPazzi 21 Reputation points
0 answers

DTLS 1.2 implementation example with SChannel

I want to know if there is a working example on how to implement DTLS 1.2 with Schannel for a desktop application using Windows 10 SDK, I have searched for it over the internet and I couldn't find 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,498 questions
asked 2020-10-12T15:43:38.943+00:00
Lopez, Raziel 11 Reputation points
commented 2020-10-13T05:39:35.937+00:00
Rita Han - MSFT 2,161 Reputation points
1 answer

Determine file system [GetVolumeInformation() not helpful]

Is there a means of determining the file system of a drive, from a native C++ application? Or, otherwise learning what I want to know*? GetVolumeInformation() does not tell me what I need to know*. *WHAT I WANT TO KNOW ABOUT A FILESYSTEM I want 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,498 questions
asked 2020-10-10T19:53:26.02+00:00
Ed Broughton 31 Reputation points
commented 2020-10-13T00:58:10.763+00:00
Drake Wu - MSFT 991 Reputation points
2 answers

What wrong with the code?

AppendMenu(hMenubar, MF_POPUP, NULL, "File");

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,498 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,612 questions
asked 2020-10-11T12:22:27.21+00:00
建林 刘 1 Reputation point
answered 2020-10-11T17:38:14.767+00:00
RLWA32 42,476 Reputation points
0 answers

[TSF-IME] Access violation when using / Heap Corruption ITfUIElementSink

Hi, Im currently working with the Text Service Framework. And if I use advise sink on an ITfUIElement, i'll get an exception (see picture) after using my simple test application and spamming some keys and spaces in chinese. If i dont…

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,498 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,612 questions
asked 2020-09-20T17:55:28.3+00:00
Oliver Sradnick 21 Reputation points
commented 2020-10-10T01:08:00.667+00:00
Rita Han - MSFT 2,161 Reputation points
2 answers

Create a shared memory segment

Hello. How can I create a shared memory segment, in Windows ? I ask this because I have found several examples for Linux, but I need it in Windows. There, I need to write and read char* on a given position ... but I don't know how to accomplish that. Can…

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,498 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,612 questions
asked 2020-10-09T07:08:20.59+00:00
Flaviu_ 971 Reputation points
commented 2020-10-09T14:11:59.623+00:00
RLWA32 42,476 Reputation points
2 answers

WinSock2.h generates expression before comma has no effect warning

This is because of while (0, 0) in the following macros: #define FD_CLR(fd, set) do { \ u_int __i; \ for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count ; __i++) { \ if (((fd_set FAR *)(set))->fd_array[__i] == fd) { \ …

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,498 questions
asked 2020-10-02T16:47:37.563+00:00
Ilia - 1 Reputation point
commented 2020-10-09T02:10:59.933+00:00
Drake Wu - MSFT 991 Reputation points
2 answers

How to specify PeerTokenAccessMask in WSAQuerySocketSecurity?

The PeerTokenAccessMask field is a ULONG in SOCKET_SECURITY_QUERY_TEMPLATE. I need to set it to some value to get PeerApplicationAccessTokenHandle and/or PeerMachineAccessTokenHandle. However I cannot find anywhere how that mask field can be set. …

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,498 questions
asked 2020-09-14T20:44:28.233+00:00
beachbear 1 Reputation point
commented 2020-10-09T01:17:48.17+00:00
Fei Xue - MSFT 1,111 Reputation points
4 answers One of the answers was accepted by the question author.

Finding memory leaks

My code runs fine, but when it finishes in debug mode I see many memory leaks. Here are a few: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgrpt.c(153) : {1208} crt block at 0x273D9DA8, subtype 0, 16 bytes long. Data: < #a > 00 00 00…

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,498 questions
asked 2020-10-07T14:11:16.637+00:00
Don Dilworth 211 Reputation points
commented 2020-10-08T20:23:12.867+00:00
Darran Rowe 561 Reputation points
1 answer One of the answers was accepted by the question author.

WebClient.DownloadFile can't establish secure SSL/TLS channel?

I cannot download a publicly available file from a government webserver using .Net framework 4.8 or .Net core 3.1. I am able to download the file using Chrome, Firefox, or curl. WebClient.DownloadFile() worked for over a year as an Azure app…

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,498 questions
asked 2020-10-07T02:02:24.313+00:00
J Reynolds 21 Reputation points
accepted 2020-10-07T13:51:18.227+00:00
J Reynolds 21 Reputation points
0 answers

doubt related to RAM

How the Data Loads on RAM with exact proof ? OR how when program runs it first loads on RAM we store data inside a variable how we come to know that it is there in RAM while processing?

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,498 questions
asked 2020-10-06T19:29:02.117+00:00
Suyog Kumawat 1 Reputation point
commented 2020-10-07T08:28:13.417+00:00
Drake Wu - MSFT 991 Reputation points
0 answers

DirectShow / WMF (KSPROPERTY_CAMERACONTROL_EXTENDED_EXPOSUREMODE)

*Before I ask my question I need to state that I am primarily a Linux C++ developer and don't have that much experience with writing Windows applications. * Background For some time, I have been working on a scientific imaging application 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,498 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,612 questions
asked 2020-10-06T01:29:06.24+00:00
AmandaM 1 Reputation point
commented 2020-10-07T01:37:53.413+00:00
Drake Wu - MSFT 991 Reputation points
1 answer

Win32 websocket sample

Hello, I found a wensocket sample code in: Websocket But I need few hints: Is it a server or client ? I tried running it. It runs and exist without any error. Does not wait for a client (e.g chrome to connect). Can you please advise ? …

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,498 questions
asked 2020-10-05T07:20:24.763+00:00
MAORVERED MAORVERED 21 Reputation points
answered 2020-10-06T06:55:10.297+00:00
Strive Sun-MSFT 426 Reputation points
1 answer

Provisioning support for .appinstaller?

We are in an enterprise environment and would like to use the .appinstaller file to install a UWP app provisioned for all users to keep our in-house app up to date. The reason we need the app provisioned for all users is the need to be on shared…

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,498 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,918 questions
asked 2020-10-02T13:50:42.417+00:00
Thomas Mullen 6 Reputation points
commented 2020-10-05T01:23:00.56+00:00
Drake Wu - MSFT 991 Reputation points
1 answer

Memory isn't deallocated - ActiveX control (.NET/C#) used in an MFC application

I have a memory problem with a COM/OLE/ActiveX component. But I don't know more than the basics of ActiveX... I'm reaching out to the ActiveX experts here - I'd be VERY grateful for some help!! I'm doing some maintenance on an old MFC project (a Win32…

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,498 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,612 questions
asked 2020-10-02T11:08:02.587+00:00
Anders Olsson 1 Reputation point
answered 2020-10-05T01:12:55.05+00:00
RLWA32 42,476 Reputation points