Did you know that: LVN_GETINFOTIP?
Did you know that when you handle LVN_GETINFOTIP notification message and you are provided with NMLVGETINFOTIP structure, you cannot just supply your own pszText string for the tooltip text? Instead...
View ArticleEnumerating Binary Resource Languages
The small application is a goos sample and useful tool in the same time. It enumerates PE binary resources and counts languages used. Why? Normally you want single language of resources, however Visual...
View ArticleEnumerating Media Foundation Transforms (MFTs)
Matthew van Eerde already made a similar wrapper over MFTEnumEx in How to enumerate Media Foundation transforms on your system, and this one extends it with enumeration of attributes, also listing them...
View ArticleContinuous realloc()
A colleague raised a question that realloc does better than free + malloc because allocated memory block is never being actually shrunk and reallocations to smaller size following by reallocations to...
View ArticlePolyTextOut API – Does It Work?
As MSDN says, The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context. The article also mentions ExtTextOut as a simpler sister...
View ArticleEnumeration of DirectShow Capture Capabilities (Video and Audio)
The tool appears to be unmentioned here, and this is to fix the problem. DirectShowCaptureCapabilities application enumerates video and audio capture devices and lists their typical DirectShow...
View ArticleRegistration-Free COM dependencies and COM reference isolation
Visual Studio offers COM reference isolation to applications so that COM dependency is used in a usual way, and in the same time there is no need in its registration or another copy of the COM server...
View ArticleLogitech C930e camera and Media Foundation
Logitech’s C930e camera is the first one to be compliant with UVC 1.5 specification: First 1080p HD webcam to support H.264 with Scalable Video Coding and UVC 1.5 encoding technology. […] The result is...
View ArticleBlackmagic Design’s “Decklink Video Capture” filters
Pulling this out from Blackmagic Design Forum thread: Generally, the recommended interface to the capture cards is the DeckLink API. A DirectShow interface is available, but provides a subset of the...
View ArticleCLSID_VideoInputDeviceCategory and Media Foundation
Media Foundation as video capture API is inflexible. At Microsoft – besides standard Media Foundation problems of backward compatibility, availability of developer tools and overall awkwardness – they...
View ArticleMedia Foundation Video/Audio Capture Capabilities
Just like with DirectShow video capture capability information, it is helpful to unerstand what Medfia Foudnation video capture offering is exactly. Specifically: Video and audio sources available with...
View ArticleFragile MFEnumDeviceSources
As I mentioned in earlier post, Media Foundation video capture capability is internally using undocumented categories with pretty much the same transforms and enumeration applicable to categories...
View ArticleMediaFoundationVideoEncoderTransforms: Detecting support for hardware H.264...
H.264 (MPEG-4 Part 10 also known as MPEG-4 AVC) video encoding was never packaged into DirectShow filter by Microsoft and instead they offered Media Foundation Transform (MFT) for the job: H.264 Video...
View ArticleManifestComDependency: Adding/Removing Registration-Free COM dependencies
In one of the earlier posts I mentioned a problem with registration-free COM dependency setup up by Visual Studio as a part of build process. This post is about the tool that offers an alternate...
View ArticleCertificate Enrollment API Adventures
IX509PrivateKey::Export exports key data from COM object, MSDN: strExportType [in] A BSTR value that specifies how the private key is exported. If the key was created by using a CNG KSP (Key Storage...
View ArticleHow to create Virtual Webcam in Windows 10?
(this is a re-post from StackOverflow) Virtual webcam is typically a software only implementation that application discover as if it is a device with physical representation. The mentioned applications...
View ArticleSigning with CryptoAPI using Certificate and Detached Private Key
Use of separated certificate and private key might be confusing without understanding how parts or CryptoAPI are related one to another. Apparently, CryptSignMessage and friends require private key in...
View Article“… you will never get the same high quality video experience that you find...
Microsoft’s James Daily wrote back in 2011 (and it’s an incredible response in the public forum from MS guy – provided that DirectShow branch of the same forum did not see anything close for 10+ years)...
View ArticleVideo for Windows API and Multiple Cameras
A StackOverflow question (already deleted) asked about use of indices when referencing Video for Windows (VFW) capture devices such as in capGetDriverDescription API and other. Video capture with Video...
View Article