I am working in SSL using webservice.h. I want to modify the HTTP header information in the request by adding Keyid = "value"
I am working on SSL (using webservice.h). Please find below the request. In the highlighted headers below , I want to add Keyid = "Value". I am trying to do this but not able to get any clue. I have tried using WsAddCustomHeader but this is…
Apply changes made in registry regarding window metrics
I want to set specific values for: Computer\HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics Is there a way to apply registry changes without the need of logging off and on? Perhaps some service needs restarting? I've tried to restart explorer.exe…
Launching Windows Applications using Voice Assistants
Is there an alternative to Cortana on Windows that I can use to launch my applications using a voice command like "Open Abc App"? I have come across an application named "Voice Access," but I can't find any documentation on how to use…
What file types does Media::Playback::MediaPlayer supports?
As the title suggests. I didn't find anything about it in Microsoft Learn. What file types does MediaPlayer support?
How to use C++/WinRt API like as part of DLL without user interface(UI)
Hi, I am attempting to utilize the C++/WinRT code provided in the sample of LampArray, cppwinrt to create a DLL. However due to the tight coupling of this sample with the UI, I am not able to use below API independently within my DLL code, without…
Unknown error with WinBioEnrollCommit function in windows biometric framework
I am using the Windows Biometric Framework API and have encountered an error.I followed the onInstall() and onAdd() functions in tutorial #1, and then called the onEnrollOrPractice() function in tutorial #2. …
how to get bus reported device description for VSP com port
Hello, I am using C# to detect usb vsp com port for my ARM controller via usb port. My program has been working properly, but I can't get the descriptor on ARM controller because windows use universal serial device driver. I found item "bus reported…
Understanding how to display an image
I'm attempting to understand how to display an image onto a window using the code from "Loading and displaying bitmaps" Image image(L"Grapes.jpg"); graphics.DrawImage(&image, 60, 10); I have been able to get the first line…
how to support Server authentication using the webservice.h win32 lib header
For the SSL communication, for the sample code which it was developed on Windows win32 – webservice.h library. with the code changes for SSL communication, we are able to establish a SSL communication(we can see SSL handshake is happening) successfully. …
how is the windows API (WlanQueryInterface ) response containing enum _WLAN_CONNECTION_MODE mapped into command line wifi connection mode values Auto/ Manual?
windows API (WlanQueryInterface ) response for any particular wifi profile gives connection mode as below Enum _WLAN_CONNECTION_MODE { wlan_connection_mode_profile =…
How to check the Windows setting-Location permission is enabled or not for my Application using win32 C ++
Hi, How to check the Windows setting-Location permission is enabled or not from a Win32 C++ Application. I would like to know the win32 API which can get the status about the Location setting, whether it's enabled for the application or not. I
Win32 Button keeps the blue border on focus lost
In a non-dialog window, is it a known bug or normal behavior that a push button keeps the blue focus border after a control in another window gets focused? I checked to see if the button receives the WM_KILLFOCUS message and yes it does. I noticed that…
Recognize whether the user is logged in
In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…
Information of dirty virtual memory pages
To advise the memory manager to know better which pages should be preferred for paging I need to know which pages are dirty. Obviously I can get a lot of information QueryWorkingSet and QueryWorkingSetEx but what I do not get is if the page is dirty or…
How to read PDF file from the disk and print it using printer in C++/winrt/win32 app
I have a PDF file stored at some location filePath, I want to read PDF and print it using printer (I have printer name). How can I achieve it in C++/winrt/win32 desktop application.
Appropreate message to initiate window move with the mouse button up
Unfortunately I was asking the wrong way. I know how to move the form by setting its Location property. I have a working solution without p/invoke on github although quite convoluted for my taste. My question is "can I avoid this convolution by…
How to cope with Microsoft's design flaw of the MFT_MESSAGE_NOTIFY_END_OF_STREAM message, when using the standard media session pipeline with multiple input MFTs ?
Hello! I dont know if this is the right place to ask the following question. But since the MSDN was shutdown by MIcrosoft a few years ago this seems to be the only place. And i will not ask it on Stackoverflow, as i would propably be the best candidate…
Accessing GPS Sensor on Surface Go LTE (model 1825)
I have a Surface Go LTE (model 1825), running Windows 10 Pro, Version 22H2, Build 19045.4291. According to the specifications it has standalone GPS/GNSS capability. In the privacy settings, access to location services has been enabled. In the device…
Create a traditional Windows Desktop application (C++)
Hello ! "I have Visual Studio 2022 and have followed the instructions for creating a traditional Windows Desktop application (C++) available on the page…
SetWindowDisplayAffinity bad usecase
Hey, We have a classroom of exam computers that are monitored by the class admin through a remote feed that uses the Windows API to take screenshots at specified intervals. Some students have found that if they execute an app with…