I have created DirectShow filter ( in dll form) for new extension (e.g -
.xxx) . To register this filter in WinCE 6.0, i have inserted following keys
in WinCE registry. But i mnot able to play (e.g example.xxx) file in CEPLAYER
given with WinCE 6.0:
1. [HKEY_CLASSES_ROOT\Filter\{5C3A32A6-F372-4999-80F2-3592FD25B290}]
2.
[HKEY_CLASSES_ROOT\CLSID\{5C3A32A6-F372-4999-80F2-3592FD25B290}\InprocServer32]
3.
[HKEY_CLASSES_ROOT\CLSID\{5C3A32A6-F372-4999-80F2-3592FD25B290}\Pins\In\Types\{E436EB83-524F-11CE-9F53-0020AF0BA770}]
4.
[HKEY_CLASSES_ROOT\CLSID\{5C3A32A6-F372-4999-80F2-3592FD25B290}\Pins\Vid_Out\Types\{73646976-0000-0010-8000-00AA00389B71}]
5. [HKEY_CLASSES_ROOT\Media Type\Extensions\.xxx]
I got error : 0x80040111
Does something missing here? Does any specific key required for CEPLAYER?
OR what are the steps required to register my new DirectShow filter with
WinCE 6.0 ?
I am using DeviceEmulator for registry entries & testing.
Have you looked up the error code with Error Lookup? 'ClassFactory can't
make the class'.
When, in your code or in the operation of CEPlayer, do you get this error?
On startup? When a file of the indicated type is opened?
Paul T.
I was stuck on that error 0x8004011 that's why.
Well, i found the solution.
Actually i registered input pin by this entry only
[HKEY_CLASSES_ROOT\CLSID\{5C3A32A6-F372-4999-80F2-3592FD25B290}\Pins\In\Types\{E436EB83-524F-11CE-9F53-0020AF0BA770}]
But i missed subtype
[HKEY_CLASSES_ROOT\CLSID\{5C3A32A6-F372-4999-80F2-3592FD25B290}\Pins\In\Types\{E436EB83-524F-11CE-9F53-0020AF0BA770}\{00000000-0000-0000-0000-000000000000}]
I was under impression that, MEDIASUBTYPE_NULL is not required to registerd.
By default subtype should be NULL. But i was wrong.
This was the only reason for error 0x8004011.
Any ways, thank you for quick reply !!
-Ankit.