PlayEnhMetaFile fails, without any GetLastError response
Over at https://github.com/python-pillow/Pillow/issues/6980, a user has posted a zip containing an EMF file - https://github.com/python-pillow/Pillow/files/10852640/test_libuemf_ref.zip PlayEnhMetaFile fails to process the file. I attempted find out why…
signature verification issue with crypt32.dll CryptMsgControl api
We have an application which transfer EDI documents using AS2 protocol where When we send data to one of our business partner and try to verify the signature of the MDN that business partner return to us and we can`t verify the signature of the MDN that…
How to make BitBlt() draw in right-to-left orientation?
Hello, I'm using BitBlt() to paint a horizontal bar on top of a splitter in my app, which supports languages that follow left-to-right orientation (English), as well as, right-to-left orientation (Arabic). BitBlt() seems to pretty much follow…
Media Foundation: got error when tried to create stream reader
can someone help me please with winapi, media foundation particularly? the following list crashes at line 69 (MFCreateSourceReaderFromMediaSource) (located by shot in the dark) and I have no idea…
Cloud Filter API - CF_HYDRATION_POLICY_PROGRESSIVE
While working with cfapi.h, I've tried to map random access over a cloud file. I'm registering the SyncRoot as: CF_SYNC_POLICIES CfSyncPolicies = { 0 }; CfSyncPolicies.StructSize = sizeof(CF_SYNC_POLICIES); CfSyncPolicies.HardLink =…
Undocumented usage of nCrypt API for Microsoft Passport Key Storage Provider
Hi During couple of weeks I try to integrate Windows Hello inside the app. The app is written in golang, so the app is not UWP based. The Documentation says, that proper way to integrate with Windows Hello is via Key Credential Manager this API is a part…
Intermittent failure on GetNamedSecurityInfo while running inside a service as Local System account
Hi, I'm getting a very strange behavior for GetNamedSecurityInfo while running at my own service startup. When running GetNamedSecurityInfoW(pwzFolderPath, SE_FILE_OBJECT, DACL_SECURITY_INFORMATION | PROTECTED_DACL_SECURITY_INFORMATION, NULL, NULL,…
Incorrect colours from PlayEnhMetaFile?
Over at https://github.com/python-pillow/Pillow/issues/8271, a user has posted a zip containing an EMF file - https://github.com/user-attachments/files/16448240/PillowIssue8271.zip The user maintains that the white in this EMF file should be (255, 255,…
BadgeUpdateManager::CreateBadgeUpdaterForApplication() crashes with WinRT originate error - 0x80070490 : 'Element not found.'
Hello, I'm trying to show badge icon in the taskbar for my WinUI2 application (WinRT/C++). Below is the code snippet: // winrt::init_apartment(apartment_type::single_threaded); XmlDocument badgeXml =…
OMSetRenderTargets is causing an exception.
Got past previous shader problem, unfortunately now I have a problem with setting the render target. I get a dereferenced nullptr/accessing an invalid memory address exception when trying to use OMSetRenderTargets. Here's me calling it. …
What are the known folder paths returned by SHGetKnownFolderPath on Windows 11 using OneDrive's Known Folder Move Feature?
OneDrive now includes a feature called Known Folder Move. It is my understanding that for consumers (not managed devices) when OneDrive is used on a Windows 11 system it will implement this feature and several of the known folders will now default to…
Issue with SetNamedSecurityInfo Returning Error Code 59 on Shared File
Hello, I am encountering an issue with the **SetNamedSecurityInfo **API while attempting to modify the security settings of shared files. I have five shared files, and the API works as expected on four of them. However, for one specific shared file, the…
Why does IAudioClient::GetMixFormat return 8 channels audio even if the system's sound card only has two channels?
为甚么 IAudioClient::GetMixFormat return 8 channels audio ,扬声器实际上仅支持 2 声道 captureClient->GetMixFormat(&m_wfex);
How to make XAudio2 throw a Device Lost flag/error?
Hi, I was wondering how I can produce a Device Lost message for XAudio2. I tried using the dxcaps -forcetdr command in the Developer Command Prompt window for Visual Studio, but it did not work. I am using C++ and programming for Windows 10. Derek
Why doesn't GetNameInfo win32 api resolve Chinese computer names on Windows 11?
0 I have a small lab based Active Directory environment with 3 devices. They have the following OS installed. DC running Windows Server 2022 hosting my AD server. 1.Endpoint running Windows 10 Pro (22H2 Build 19045.4780) [English US installation and…
Problem with HLSL shaders.
I'm working with D3D12, and I've run into another problem. I managed to fix my command list problem, but apparently something is going wrong with my shaders? My code currently is struct Vertex { DirectX::XMFLOAT3 position; // 3D position …
Is there any way to temporarily hang or disable zero-page thread in windows,i only want to test?
Hi~ Recently I want to emporarily hang or disable zero-page thread to test something, Is there any better way?
how to execute func in main thread?
how to execute func in main thread(the wnd proc thread)? If I create thread I want to execute func in main thread.
How to make start menu transparent in Win11.
The ui used by Windows11 feels very special, but I have been unable to achieve it by using the method of setting transparency before. May I ask, what api should I use to set transparency of Windows11 start menu?
DXGI_ERROR_ACCESS_DENIED when trying to draw a triangle with DirectX 12
So, I'm currently working on drawing a triangle with DirectX 12 and making some helper functions for myself, but CreateCommitedResource keeps failing with DXGI_ERROR_DEVICE_REMOVED and the removal reason being DXGI_ERROR_ACCESS_DENIED. I've been…