Download Locator/PC User Guide - John J. Jacobs
Transcript
Application Programmer Interface Description of Locator API Calls Parameters Description selscope Indicates the entity you are marking. Specify F (file) or C (catalog) or P (part) or S (file set) or A (all of a project). selname Selection name. Enter 80 or fewer alphanumeric characters. revision Revision code. Enter 20 or fewer alphanumeric characters or leave blank for current revision. filepw File password. If file has password, enter 8 or fewer alphanumeric characters. output Audit output information. Specify F (file) or M (message only). append Indicates whether to replace or append to the audit file, if audit destination (output parameter) is F. Currently only R (replace) is supported. msg Returns message from Vault. SessID Session ID returned by mEDMinit() call. For single thread, specify 0. EDMmenu( ) Called whenever a custom menu item is selected. selscope, selname, and revision are the currently selected items. auditfile is a string long enough to contain the path of an audit file if the custom menu code needs to return one. Syntax int FAR_PASCAL EDMmenu(char *menuname, char *selscope, char *selname, char *revision, char *usertype, char *statuscode, char *auditfile, char *msg); int FAR_PASCAL mEDMmenu(int SessID, char *menuname, char *selscope, char *selname, char *revision, char *usertype, char *statuscode, char *auditfile, char *msg); Locator/PC User Guide 7-25