2,512 questions with Windows API - Win32 tags

Sort by: Updated
0 answers

Mftrace not working...

"c:\Program Files (x86)\Windows Kits\10\bin\x64\mftrace.exe" -v test.exe ### Inproc Trace ON ### Added all MFDetours providers (mask 0x0000000000000000, level 5) ### Inproc Trace ON ### pszDllFullPath: c:\Program Files (x86)\Windows…

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,512 questions
asked 2020-11-20T19:15:02.317+00:00
Jeff Roberts 21 Reputation points
commented 2020-11-23T07:02:01.15+00:00
Rita Han - MSFT 2,161 Reputation points
0 answers

CancelIoEx spuriously fails with ERROR_NOT_FOUND when there is actually pending IO

Hi! This ^^ leads to "access violation executing location" exception on TpIo thread when the pending IO operation really completes: 00007ff7c000014b() Unknown No symbols loaded. > kernel32.dll!BasepTpIoCallback() Unknown Symbols…

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,512 questions
asked 2020-10-04T20:19:54.547+00:00
Ilia - 1 Reputation point
commented 2020-11-23T06:47:13.457+00:00
Drake Wu - MSFT 991 Reputation points
2 answers

Windows Ribbon Framework Tab Change Event

I'm struggling to find a sample or example code of how to implement and use the Eventing Manager for the Windows Ribbon Framework. I would like this to use the OnEvent method in the Event Logger. Would someone please be able to assist with 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,512 questions
asked 2020-08-25T15:00:36.883+00:00
Arno Pienaar 1 Reputation point
answered 2020-11-22T18:36:59.74+00:00
harborsiem 1 Reputation point
1 answer One of the answers was accepted by the question author.

Windows Event Viewer shows wrong severity for all messages from my service

I'm trying to create my own Windows service in C according to this tutorial. My event message definition file looks like this EventLogMessages.mc: MessageIdTypedef=DWORD SeverityNames=( Success=0x0:STATUS_SEVERITY_SUCCESS …

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,512 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,628 questions
asked 2020-11-21T07:57:24.267+00:00
Youda008 96 Reputation points
accepted 2020-11-22T11:38:57.257+00:00
Youda008 96 Reputation points
1 answer

Is there animation end event (Completed) in DirectComposition and VisualLayer?

Hi, I want to do animations using Visual Layer and DirectComposition...and, I have problem to find animation end event...event when animation actually ends / is completed. Like (C#): animation.AnimationEnd += handler; Or, like in WPF…

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,512 questions
asked 2020-11-22T10:29:36.02+00:00
vb 276 Reputation points
answered 2020-11-22T11:36:05.513+00:00
vb 276 Reputation points
1 answer

MFTranscodeContainerType_AVI with 11025 audio...

So, running through old files and just converting them from AVI to AVI, and there's many that will read, but it can't create. Most are due to audio stuff: 1) Can't create an 8-bit audio input or output sinks (despite the fact that reader is reading 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,512 questions
asked 2020-11-19T23:55:43.683+00:00
Jeff Roberts 21 Reputation points
commented 2020-11-21T11:05:13.443+00:00
Roman R 331 Reputation points
1 answer One of the answers was accepted by the question author.

_tstati64 function is not supported on this system

Hello, recently I have migrated my old VS2010 project into VS2019. But I still need a compatibility with Windows XP. Therefore, I'm using Windows SDK Version 7.0 and Visual Studio 2017 - Windows XP (v141_xp) Platform Toolset. Everything works but now 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,512 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,628 questions
asked 2020-11-19T10:40:21.86+00:00
Radim Langer 101 Reputation points
accepted 2020-11-20T08:01:49.253+00:00
Radim Langer 101 Reputation points
0 answers

CfExecute function usage

Hi! I am using CfExecute function in my .Net Core application. For this purpose I have marshalled it this way: [DllImport(Lib.CldApi, SetLastError = false, ExactSpelling = true)] [PInvokeData("cfapi.h", MSDNShortId =…

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,512 questions
asked 2020-11-17T13:20:29.197+00:00
Diakov Dmytro 1 Reputation point
commented 2020-11-19T07:20:42.92+00:00
Drake Wu - MSFT 991 Reputation points
0 answers

CfExecute function

Hi! Can CfExecute be used in .Net environment ? Thanks!

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,512 questions
asked 2020-11-17T15:30:42.36+00:00
Diakov Dmytro 1 Reputation point
commented 2020-11-19T01:34:40.067+00:00
Drake Wu - MSFT 991 Reputation points
3 answers

can not connect to DV video decoder using MEDIASUBTYPE_YUY2

Hello, I try to write a 64bits DirectShow Transform Filter that i want to connect to a "DV Video Decoder" using the subtype MEDIASUBTYPE_YUY2, unfortunately without success. The only Subtype for wich the connection works 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,512 questions
asked 2020-11-02T18:49:50.077+00:00
Pasc059 1 Reputation point
commented 2020-11-18T01:32:31.103+00:00
Rita Han - MSFT 2,161 Reputation points
2 answers One of the answers was accepted by the question author.

Grabbing part of dialog to another dialog

Hi I’m wondering is it possible to grab a picture on one part of a dialog and place it on another dialog, I’m thinking it has got something to do with BitBlt. But I can’t seem to figure out how to do it Thank you

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,512 questions
asked 2020-11-16T23:06:33.34+00:00
Pushkins 156 Reputation points
commented 2020-11-18T01:26:27.547+00:00
Rita Han - MSFT 2,161 Reputation points
3 answers One of the answers was accepted by the question author.

Is Win7 Window Media Center interface a custom control?

Hi all, Is the interface of windows media center (WMC) in windows 7 a custom control? I'm looking for something similar where I can go up/down then left/right with a background image and that interface in WMC looks perfect but I'm not sure how 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,512 questions
asked 2020-11-12T22:17:06.447+00:00
Dsp 1024 51 Reputation points
accepted 2020-11-17T17:22:34.463+00:00
Dsp 1024 51 Reputation points
3 answers One of the answers was accepted by the question author.

How to delete drawing from a window?

Hi, I have a transparent window: SetLayeredWindowAttributes(window, RGB(255, 255, 255), 0, LWA_COLORKEY); and I have some drawing in WM_PAINT hdc = BeginPaint(hwnd, &ps); HPEN OldPen = (HPEN)SelectObject(hdc, *currentPen); //just 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,512 questions
asked 2020-11-15T17:11:15.38+00:00
Davit 136 Reputation points
accepted 2020-11-17T15:48:05.58+00:00
Davit 136 Reputation points
1 answer One of the answers was accepted by the question author.

(WMI) CreateSnapshot() not working with SnapshotType 32768

Hi, I am actually trying to create a Reference Point for my Hyper-V VM for RCT based backup. I am trying to do this by C#. For ConvertToReferencePoint() to work my Snapshot Type should be recovery. Which I found out from here:…

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,512 questions
asked 2020-11-12T07:22:18.783+00:00
Mayank Srivastava 41 Reputation points
commented 2020-11-17T05:35:36.993+00:00
Mayank Srivastava 41 Reputation points
0 answers

"Getinterfacefromglobal" method returning error code "0x8000ffff" ATL COM( win32, VC++) STA project

ve implimented a ATL single thread apartment based project . class ATL_NO_VTABLE CMySrv : public CComObjectRootEx<ccomsinglethreadmodel>, public CComCoClass<cmysrv,&clsid_mysrv>, public IMySrv In the method, I'm creating multiple…

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,512 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,628 questions
asked 2020-11-09T07:22:21.797+00:00
Rajesh_M 1 Reputation point
commented 2020-11-16T13:37:05.85+00:00
RLWA32 43,046 Reputation points
1 answer

to do automation test,telnet to control romote desktop applications

to do automation test,telnet to control romote desktop applications,that is, i want to do automation test, and telent to a pc, win7/win10, to control the app in the romote pc, for example, open a .exe, and run it, and get data from it. how to set up…

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,512 questions
asked 2020-11-13T08:58:03.077+00:00
春艳 叶 1 Reputation point
answered 2020-11-16T08:53:27.277+00:00
Drake Wu - MSFT 991 Reputation points
4 answers

The AckRename callback of Windows cfapi blocks when move multiple files at the same time

hello, I'm using the cfapi of Windows. Now I registered a rename callback by the flag of CF_CALLBACK_TYPE_NOTIFY_RENAME. The callback is normal when I only rename or move one file, but it will block when I move multi-files. It seems that it blocks when…

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,512 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,628 questions
asked 2020-11-10T03:50:45.223+00:00
Nayuta 6 Reputation points
commented 2020-11-16T02:19:39.793+00:00
Rita Han - MSFT 2,161 Reputation points
1 answer One of the answers was accepted by the question author.

How to disable MANIFESTUAC using pragma comment?

I'm trying to set this linker option in my C++ file, using the normal method. This looks right to me at least: #pragma comment(linker, "/MANIFESTUAC:NO") But it's not working. I get: warning LNK4229: invalid directive '/MANIFESTUAC:NO'…

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,512 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,628 questions
asked 2020-11-09T09:31:02.083+00:00
Ed H 21 Reputation points
accepted 2020-11-14T05:51:53.62+00:00
Ed H 21 Reputation points
0 answers

Windows Shell Extension for context menu not working in explorer but working in desktop

I am trying to create a dll for shell extension context menu. I followed example given in Link Build the project in Visual Studio 2019, windows 8.1. Registered the Dll using steps given in here Following the registration steps in current window 8.1…

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,512 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,628 questions
asked 2020-11-13T12:28:59.727+00:00
SUMIT DHYANI 1 Reputation point
commented 2020-11-13T18:59:07.807+00:00
David Lowndes 4,711 Reputation points
2 answers One of the answers was accepted by the question author.

Transparent borders when maximized?

I'm working with a VS2019 C (not C++) project that has unexpected transparent borders that are two or three pixels thick. The project was originally created for Windows 7 using VS2010 and did not have these borders in that environment (I still have 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,512 questions
asked 2020-11-10T12:43:48.557+00:00
Steve Valliere 116 Reputation points
accepted 2020-11-12T13:07:37.053+00:00
Steve Valliere 116 Reputation points