Each entry under this key specifies a custom command that can be installed into one of the Mail menus at run-time. These entries can appear both in the Microsoft Mail key and in the SHARED32.INI file in the directory defined under the Microsoft Mail subkey as the value of SharedExtensionsDir.
This is the Registry path for this subkey:
HKEY_CURRENT_USER\Software\Microsoft\Mail\Custom Commands
The Custom Commands subkey can contain one or more of the following entries:
tag REG_SZ
This specifies the descriptive identifier for the command in the following format:
tag= version;menu;name;position;DLL name, ordinal;command;
event map;status text;Help file;help context;
For example:
IC1= 3.0;help;&Out of Office;10;<ExtsDir>BIN-EXT\OOF32.DLL;3;;
Out of Office Email Notification
Value | Meaning |
version | The version of Mail in which the custom command is compatible. |
menu | The menu where the custom command is to be added, such as File or Help. |
name | The command name to appear on the menu. Include an ampersand just before the letter that is to serve as an ALT+key accelerator. |
position | The zero-relative position within its menu where the command is to appear. A value of –1 places the command at the end of the menu. |
DLL name | Name or path of the DLL where the custom command resides. This entry can optionally be followed by a comma and the ordinal of the entry point to call (default is ,1). |
command | The command string passed as one of the parameters to the DLL entry point for the command. |
event map | A sequence of up to 16 digits identifying the Mail events that the custom command supports. Each can be 0 or 1 to indicate if the DLL is to be called for a specific event. Currently three events are defined; the rest are reserved and must be zero (or, as in the examples above, this whole section can be empty): The first digit means Mail startup. |
status text | Text to be displayed in the Mail status bar when the user highlights the command in the menu. |
Help file | Windows NT Help file to be invoked when the user presses F1 while the command is selected. The specified filename is passed to the Windows NT Help program. (optional) |
help context | Passed to the Windows NT help program along with the Help file name. Use –1 (Help file index) if there is no specific entry in the Help file for this command. (optional) |
<ExtsDir> | A special token that can appear within certain fields. Expands to the value of SharedExtensionsDir in the Microsoft Mail key. Used to refer to DLLs that are installed in a shared extensions directory on the network. Valid for the DLL name, command, and Help file subfields. |