DVD-Video Renderer Registry Settings (Windows Embedded CE 6.0)
1/6/2010
The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation.
The metadriver for the DVD-Video API maps the IDVDRenderer interface to COM objects that allow you to interact with renderers on your system. The design of the metadriver allows for any type of implementation, as long as it is contained within a valid COM object. Typically, these COM objects will be device drivers for physical pieces of hardware. The registry identifies the classes for the various objects used by the metadriver.
The subkey used to register the DLL for your renderer is HKEY_CLASSES_ROOT\CLSID\{Your renderer CLSID}\InprocServer32.
The classes for the metadriver and the renderer all tied together with the subkey HKEY_CLASSES_ROOT\CLSID\{99C99C72-43E8-11d4-84C8-00C04F68EB0F}\{99C99C73-43E8-11d4-84C8-00C04F68EB0F}\Your renderer name. In this subkey, the first GUID is the CLSID for the metadriver and the second GUID is the interface identifier for the IDVDRenderer interface. Both of these GUIDs are inherent to the DVD-Video API. The final part of the subkey is a unique name of your choosing used to identify the renderer. The following table shows the named values for this subkey.
Value : type | Description |
---|---|
Renderer |
The CLSID of the DVD-Video renderer. This value is required. It does not have a default setting. |
BitstreamType: REG_DWORD |
An integer identifying the media type that the renderer can process. A setting of 0 indicates that the renderer can process DVD-Video data. All other values are reserved for future use. This value is optional. It has a default setting of 0. |
The following code sample shows a complete set of metadriver registry entries for a fictitious renderer named "SouthridgeVideo".
[HKEY_CLASSES_ROOT\CLSID\{99C99C72-43E8-11d4-84C8-00C04F68EB0F}\InprocServer32]
@="metadrvr.dll"
[HKEY_CLASSES_ROOT\CLSID\{12345678-43E8-11d4-84C8
00C04F68EB0F}\InprocServer32]
@="southridgevideo.dll"
[HKEY_CLASSES_ROOT\CLSID\{99C99C72-43E8-11d4-84C8-00C04F68EB0F}\{99C99C73
43E8-11d4-84C8-00C04F68EB0F}\SouthridgeVideo]
"Renderer"="{12345678-43E8-11d4-84C8-00C04F68EB0F}"
"BitstreamType"=dword:0