Used by GetClassFile to match patterns against various file bytes in a non-compound file.
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\
\FileType
\<CLSID>
\<n> = <offset, cb, mask, value>
Entries under the FileType key are used by the GetClassFile function to match patterns against various file bytes in a non-compound file. FileType has CLSID subkeys, each of which has a series of subkeys \0, \1, \2, ... These values contain a pattern that, if matched, should yield the indicated CLSID. See also the GetClassFile function.
Following are examples of FileType entries.
\0 = 0, 4, FFFFFFFF, ABCD1234
where the first 4 bytes must be ABCD12 34, in that order, or
\1 = 0, 4, FFFFFFFF, 9876543
where they must match 9876543, or .
\2 = -4, 4, FEFEFEFE
where the last four bytes in the file must be FEFEFEFE.