About how to associate mime type with SP application to open remote document ?
for Smartphone 2002, here is what we do when receiving a file where the mime
type is not something we handle in pIE:
1. Look in HKCR\MIME\Database\Content Type\ for a value named
"Extension" of type REG_SZ. For your case, will be
"video/mpeg".
2. If there is no MIME type sent down, or that Extension reg value can't be
found, then we use the extension of the filename itself. .mpg or .mpeg for
your case, what ever the file name is
3. Using the extension string obtained in either 1 or 2, open
HKCR\ key and read in the default registry value under that key.
That value contains the classname.
4. Open HKCR\\shell\open\command key and read in the default
value under that key. The contents of that value are what we call
ShellExecuteEx on, passing in the name of the file we just downloaded.