Registering a File Extension Type

Windows CE Explorer, like Windows Explorer, allows you to customize a type name, as displayed in the details view of Explorer, and an icon for any file extension, for example, .pwd. File filters must be registered under HKEY_CLASSES_ROOT.

The following is the structure of HKEY_CLASSES_ROOT:

HKEY_CLASSES_ROOT\.<file extension>
   \(Default) = <Class Name>
HKEY_CLASSES_ROOT\<Class Name>
   \(Default) = <Name to be displayed in the "Type" column of Explorer>
   \DefaultIcon = <filename or index of the icon for this type>