Just copy from Windows standard header file:
#define VFW_E_INVALIDMEDIATYPE ((HRESULT)0x80040200L)
It might have something to do with video or audio stream selection. The solution depends on your application and a piece of code/driver you are communicating with.