home *** CD-ROM | disk | FTP | other *** search
- {*******************************************************}
- { }
- { MiTeC Shell Routines }
- { version 1.0 for Delphi 5,6 }
- { }
- { Copyright ⌐ 2002 Michal Mutl }
- { }
- {*******************************************************}
-
-
- unit MiTeC_Shell;
-
- interface
-
- uses Windows, Registry;
-
- type
- TNewEntryType = (etNullFile, etFileName, etCommand);
-
- procedure RegisterFileType(Extension, RegistryKey, Description, Icon, EXEName :string);
- procedure UnRegisterFileType(Extension: string);
- procedure AddCMAction(RegistryKey, ActionName, MenuCaption, Action: string);
- procedure RemoveCMAction(RegistryKey, ActionName: string);
- procedure AddCMNew(Extension, Params: string; EntryType: TNewEntryType);
- procedure RemoveCMNew(Extension: string);
-
- implementation
-
-