All about Windows Media SDKs

A place of random tidbits for Windows multimedia application developers

Challenge with maximum allowed size of WAVEFORMATEXTENSIBLE structure in Media Foundation

You might consider to extend the extensible format to store custom data for your MFT, but wait, you...

Author: Mahatab Ur Rashid Date: 12/01/2013

How to use inbox Dolby Audio Decoder MFT on Windows 7 or Vista?

Dolby Audio Decoder Media Foundation Transform (MFT) is restricted under terms of the Dolby Digital...

Author: Mahatab Ur Rashid Date: 09/19/2013

The mysterious WASAPI lock on Windows 7

CaptureExclusiveEventDriven.zip Problem: On Windows 7, if a stream is initialized to be timer driven...

Author: Mahatab Ur Rashid Date: 09/06/2013

How to use mmioDescend and mmioRead APIs with CreateFile API?

You want to use the mmioOpen function in order to obtain a file handle to read a .WAV file. ...

Author: Mahatab Ur Rashid Date: 09/06/2013

How to enable all the elements of the DCOM Config (DCOMCNFG.EXE) security tab on Windows Server 2008 R2?

Problem: You have a .NET web application that access the Windows Media Services COM object. Under...

Author: Mahatab Ur Rashid Date: 08/23/2013

How to control "Listen to this Device" feature of Windows 7 programmatically?

This is not possible - there is no public API available to control “Listen to this Device” feature....

Author: Mahatab Ur Rashid Date: 05/20/2012

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my...

Author: Mahatab Ur Rashid Date: 05/19/2012

Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete?

Question: Why does the NdrClientCall2() API call takes more then 4-5 milliseconds to complete in my...

Author: Mahatab Ur Rashid Date: 05/19/2012

Why does the TCP three way handshake never tag with DSCP value on Windows XP and Server 2003?

Question: We are trying to introduce QoS into our VOIP services. While working on this we have...

Author: Mahatab Ur Rashid Date: 05/19/2012

Why does regedit.exe (or any other Microsoft program) crash when I try to create a remote thread into it using the CreateRemoteThread API?

Question: On Windows XP, I am starting regedit.exe in suspended mode and forcing it to call the...

Author: Mahatab Ur Rashid Date: 05/19/2012

How to check SLP 1.0 values from the BIOS using Win32 API?

Question: Is there any API available to check SLP 1.0 values from the BIOS? Answer: Yes, you can use...

Author: Mahatab Ur Rashid Date: 05/19/2012

Does H264 decoder support low latency mode on Windows 7?

No, there is no way to put H264 decoder into a low latency mode on Windows 7.

Author: Mahatab Ur Rashid Date: 05/17/2012

How to programmatically set WMP the default player of Windows Vista and Windows 7?

Here is the API that one can use to set the default playback application of Windows Vista and...

Author: Mahatab Ur Rashid Date: 05/17/2012

Silverlight 5 MediaElement does not support PlaybackRate for streaming

Silverlight 5 MediaElement does not support PlaybackRate for streaming (no MSS or WMS streaming)....

Author: Mahatab Ur Rashid Date: 05/08/2012

Does WIA Automation Layer 2.0 support duplex scan?

WIA Automation Layer 2.0 doesn’t support duplex scan. This is by design. WIA Automation Layer...

Author: Mahatab Ur Rashid Date: 05/01/2012

Why is there a lack of pitch correction with WMP12 when playing A-law content at different play speeds?

This is because we do not have an inbox MF A-law decoder. This is not the case for U-law. WMP12...

Author: Mahatab Ur Rashid Date: 05/01/2012

How to disable DXVA programmatically?

You can control DXVA programmatically using Media Foundation (MF). In Windows 7, the...

Author: Mahatab Ur Rashid Date: 04/29/2012

Q. Why does my DirectShow based video capture application fail to set resolution for the LifeCam...

Author: Mahatab Ur Rashid Date: 04/21/2012