home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / prodtool / sm2 / ehsdllu.pkg / EHSHMLNK.DAT < prev   
Encoding:
Text File  |  1993-11-18  |  3.2 KB  |  58 lines

  1. /*******************************************************/
  2. /* Syntax in table EHSHMLNK.DAT                        */
  3. /* ============================                        */
  4. /* To call a DLL use:                                  */
  5. /* ------------------                                  */
  6. /* type=<type>;PROGRAM=<name1>;comment1                */
  7. /*         or                                          */
  8. /* type=<type>;DLL=<name1>;comment1                    */
  9. /*         or                                          */
  10. /* To call a EXE use:                                  */
  11. /* ------------------                                  */
  12. /* type=<type>;EXE=<name2> <parms>;comment1            */
  13. /*         or                                          */
  14. /* To call a CMD file use:                             */
  15. /* -----------------------                             */
  16. /* type=<type>;CMD=<name2> <parms>;comment1            */
  17. /*                                                     */
  18. /* where                                               */
  19. /* =======                                             */
  20. /* <type>  is the Type of the the hypermedia           */
  21. /*         object (e.g. Metafile, Bitmap,...)          */
  22. /*                                                     */
  23. /* <name1> is the name of a customer-provided          */
  24. /*         DLL with an entry point EHS_HMX             */
  25. /*         (see programmer's reference for SM/2)       */
  26. /*         Specify the name without extension.         */
  27. /*         The DLL must be in the LIBPATH.             */
  28. /*                                                     */
  29. /* <name2> is the name of a customer-provided          */
  30. /*         .EXE or .CMD to be started.                 */
  31. /*         The program must either be located in       */
  32. /*         one of the PATH directories or be           */
  33. /*         fully qualfied including the correct        */
  34. /*         file extension.                             */
  35. /*                                                     */
  36. /* <parms> is the parameter string passed to the       */
  37. /*         .EXE or .CMD program. This parameter        */
  38. /*         string can contain the following            */
  39. /*         substitution characters:                    */
  40. /*                                                     */
  41. /*     %d  for the fully qualified document-id         */
  42. /*         of the document that contains the           */
  43. /*         hypermedia link                             */
  44. /*                                                     */
  45. /*     %o  for the object-id of the                    */
  46. /*         hypermedia link                             */
  47. /*                                                     */
  48. /*                                                     */
  49. /* Examples                                            */
  50. /* ========                                            */
  51. /* type=image;PROGRAM=ehshihyp; to call EHSHIHYP.DLL   */
  52. /* type=image;DLL=ehshihyp; to call EHSHIHYP.DLL       */
  53. /* type=image;EXE=ehshiexe %d %o; to call EHSHIEXE.EXE */
  54. /* type=audio;CMD=c:\tools\Multimedia.cmd PLAY %o;     */
  55. /*******************************************************/
  56. type=image;PROGRAM=ehshihyp;
  57. type=mmpm;CMD=play file=%o;
  58.