Current version

v1.10.4 (stable)

Navigation

Main page
Archived news
Downloads
Documentation
   Capture
   Compiling
   Processing
   Crashes
Features
Filters
Plugin SDK
Knowledge base
Contact info
 
Other projects
   Altirra

Archives

Blog Archive

RTFM

While trying to find a way to set the frame rate on a WDM capture device in DirectShow and not have it just return S_OK and ignore my setting, I came across the following documentation in the DirectX 9.0c SDK for IAMVideoControl::GetFrameRateList():

Return Values
Returns an HRESULT value that depends on the implementation of the interface.

Whew, that's a relief. I thought it would return random values instead.

(It isn't easy to write documentation, and it's even harder when a technical writer who's not the API designer is doing it. However, some of the documentation in MSDN is downright silly.)

Comments

This blog was originally open for comments when this entry was first posted, but was later closed and then removed due to spam and after a migration away from the original blog software. Unfortunately, it would have been a lot of work to reformat the comments to republish them. The author thanks everyone who posted comments and added to the discussion.