Windows API's CreateFile with CFile gives invalid path error if used drives created with SUBST
A drive is created for a folder using SUBST command. We have a Windows application which reads contents of the and performs some operations. Application does not give any error when read the file path is from actual drive. But when try to read from drive…
How can I launch my application automatically on system reboot?
Is there an API or method that I can use to make sure my application launches automatically when the system restarts? I would appreciate any help or guidance on this matter.
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…
How to show another window on FSE(FullScreen Exclusive)
私たちは FullScreen Exclusive (FSE) な画面を持つアプリケーションを開発中です。 FSE は SetFullscreenState(TRUE, nullptr) を呼び出すよう実装しています。 FSE上でCreateWindowEx() して、別のウィンドウを表示したいのですが、それは可能でしょうか? …
Getting VSS Error ID 8200 while taking VSS Snapshot backup. API IVssWriterComponentsExt.GetWriterInfo is failed with error VSS_E_INVALID_XML_DOCUMENT
We are developing an application to backup our filesystem files via VSS. We are getting an issue while gathering writer component info which is blocking us to move ahead with building the tool. Can someone please help? Detailed logs…
InterlockedCompareExchange128 is not found on newer sdk
I'm running into a problem using windows 11 sdk (10.0.22621.0) through Microsoft Visual Studio. However I'm running into a problem where it cannot find "InterlockedCompareExchange128". The specific error message looks like: error C3861:…
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…
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…
How to change lockscreen wallpaper by using Windows SDK (C++) or modifying registry?
Hi all. My Windows version is Windows 10 22H2 19045.2846, and I'd like to change my lockscreen wallpaper by using Windows SDK (or dll function), but I can't find any function for it. I want to get a function, which is equal to…
Phone Link Api
Hi, i have question Can I get the API for audio access of the call from the mobile to PC (same as phone link app provides)? Is that API available for third party applications??
Want to pass H264 data from IMFSample to cloud
Hi, (Media Foundation Class based) I am receiving H264/H265 stream from camera asynchronously through "OnReadSample". I would like to pass H264/H265 data to a cloud, not IMFSample type. Please suggest and show me a link to working…
Is there a method to programmatically designate a specific antivirus (AV) for scanning with AMSI if multiple AVs are concurrently active on the system?
I'm seeking guidance on managing antivirus (AV) selection programmatically within the context of using the Antimalware Scan Interface (AMSI). In my scenario, multiple AV solutions might be present and active on a system. I need to implement a method to…
Phone link API
Hi! I have a small business that communicate with clients through SMS. We use Phone Link to generate SMS through PC. But every time we have to input clients' phone number manually. Now I have CRM system to take care of everything, yet we cannot…
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…
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 get a list of win32 apis that have changed in a windows release
Hi We upgraded from windows server 2012 to windows server 2019 at client and experienced performance issues. There was a win32 api that we called in code that caused the issue. This api was slower than in 2012 due to a design change. We want to know a…
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?
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…
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 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. …