Question about KEYBDINPUT structure
I'm reading this article: https://video2.skills-academy.com/en-us/windows/win32/api/winuser/ns-winuser-keybdinput In the Remarks part, it says that "The virtual key value of a key may alter depending on the current keyboard layout or what other keys…
How to update pinned file (cfapi)?
I am using the Cloud Files API. Here is my scenario: Files are synchronized from server to client. One file is pinned. The pinned file is changed on the server. The server notifies the client that the pinned file is modified. Now how do I…
A midi controller in a desktop program freezes the graphic controls, though they still function
I have made a music program in Visual Studio for Windows with C and Fmod that contains a graphical keyboard, a selection of sound files etc., and which also contains a midi controller. I use the midi controller by connecting a midi keyboard to the…
How do I limit the length of text that can be entered in the Text Services Framework?
I am trying to use the Text Services Framework to implement the function to enter player names for a game. I want to set the maximum length of text that can be entered to the length of the player's name. I was able to ignore alphanumeric characters…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
How to get the category of Windows Update logs?
Hi, In Window10, the Windows Update is divided into different categories, such as featrue updates, quality updates etc. The capture of Windows Update History page in system is below: I have already known that I can get the list of updates…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
Is it possible to encrypt a non-multiple of 16 bytes when chaining BCryptEncrypt calls using AES in GCM mode?
Is it possible, using Windows CNG API and AES in GCM mode, to encrypt a buffer of data with a size that is not a multiple of 16 bytes (128 bits) when chaining is enabled? When I try to pass a buffer of 60 bytes to the BCryptEncrypt function with chaining…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
C++ crash when deleting file after unload from LoadLibrary (custom deleyloading) Help
I unpack dll files from application (when it start) and use load helper for delayloading. That means, I load dll with LoadLibrary from helper function. After app exit I want delete the extracted dlls from app. I unload dll with helper function…
![](https://techprofile.blob.core.windows.net/images/_5e-jRvlCkWlkMrV8cdbJg.png?8D8365)
BluetoothFindNextDevice can't find BLE device
BluetoothFindNextDevice and BluetoothFindFirstDevice functions can't find BLE mouse. I am sure the mouse is in discovering state. I can find the mouse via System Settings-> Bluetooth. How to find BLE device programmatically?
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
dxva2 decode h264 output format
when I use dxva2 decode h264 in ffmpeg,the output format in surface sometimes is nv12,and sometime is nv21,how can I know which format is .D3DSURFACE_DESC Format is same.
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
dxva2 decode h264
when I use dxva2 decode h264,CreateDevice success when cable connect monitor,otherwise CreateDevice return fail when turn off monitor。video card is nvidia ti 1080. why?
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
waveInPrepareHeader()/waveInAddBuffer() is not returning anything its getting struck only for motorola manufactured dekstop mics and only if the mic is not a system default mic
Hi Team, We are using windows mmeapi's for capturing the PCM data from mic device from very long time about 5 years. We are familial with the API's and usage and capturing the PCM data from mic with winmm API's. We are opening the device(Motorola…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
MAPI32.dll throws errorEither there is no default mail client
Hi@Anonymous , I have a problem with mapi32.dll Version 1.0.2536 (Product-Version 10.0.18362.145) --> I get the message 'Either there is no default mail client....' when I run the following little test programm: The "crashing"-method is…
![](https://techprofile.blob.core.windows.net/images/9babca87cafd4a779105c52780f41048.jpg)
LDAP search functions null base
Hello! The documentation (https://video2.skills-academy.com/en-us/windows/win32/api/winldap/nf-winldap-ldap_search_s) states that the base parameter is Pointer to a null-terminated string that contains the distinguished name of the entry at which to start the…
![](https://techprofile.blob.core.windows.net/images/rQNwMA17kEGNalvyGiQJ4A.png?8D8485)
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
How to set my .net Win32 Desktop forms to fit Windows 10 Light and Dark theme?
In Windows 10, after set to dark theme, why my Win32 Desktop .net program will not convert to dark mode? thank you.
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
how to get the cpu usage by window api
i want to monitor the windows system cpu usage using c/c++ code which api can i use and how to get the cpu usage?
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
Programmatically register a SystemPropertyHandler
In general, property handlers are registered at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers. However, for some file types, there are special handlers that are registered at…
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
VideoProcessorMft color issue
I use Video Processor MFT to convert nv12 to rgba format, and found that, on a AMD device, the converted color is darker than source.While on intel or NVIDIA device, it feels just like the source.
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
MSDN Forum: cpu usage caculated by windows API is not same as the value in task manager
below is my code, but the cpu usage caculated by the code is not the same as the value in task manager. Could someone tell me where is wrong, thanks? include <iostream> include <Windows.h> static bool getSystemCPUTime(ULONGLONG…
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
How can I create a IMFBytestream out of a memory block which has audio data ?
Hi I've setup TCP server/client in Windows 10. TCP server that sends uncompressed audio data to TCP client. In TCP Client, I would like to play received audio in Windows audio output device. I am planning to use Windows Media Session APIs as…
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
Windows Portable device event monitoring using MFC C++
I need to develop an application to monitor events on Portable devices using C++ MFC. I'm using WPD API for the same. But encountering a few issues. I am not getting the Filename in case of the delete operation. and also not able to register for more…
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)