home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m248 / 4.ddi / DDE.RC_ / DDE.RC
Encoding:
Text File  |  1993-02-01  |  2.6 KB  |  107 lines

  1. /*
  2.     
  3.     DDE.RC -- Resource File for DDE.UCD
  4.     Copyright 1987-1991, Authorware, Inc.
  5.  
  6.     Revision History
  7.         
  8.         7/25/91    -    Initial version
  9.  
  10. */
  11.  
  12. #include "windows.h"
  13.  
  14.  
  15. /* 
  16.     The following custom resource is the directory of functions which can be
  17.     accessed by APW.  Each function is defined in detail by its own custom
  18.     resource.
  19. */
  20.  
  21. 1 DLL_HEADER LOADONCALL DISCARDABLE
  22. BEGIN
  23.     "DDEInitialize\0",
  24.     "DDETerminate\0",
  25.     "DDERequestString\0",
  26.     "DDEDataString\0",
  27.     "DDEExecuteString\0",
  28.     "\0"
  29. END
  30.  
  31.  
  32. /* 
  33.     The following are the custom resources which define all attributes for
  34.     loading a specific function. Each function is listed in the directory
  35.     of funtions.
  36. */
  37.  
  38. DDEInitialize DLL_HEADER LOADONCALL DISCARDABLE
  39. BEGIN
  40.     "\0",
  41.     "W\0",
  42.     "SS\0",
  43.     "ddelink := DDEInitialize(app, topic)\r\n",
  44.     "\r\n",
  45.     "This function initializes a DDE session with the application \042app\042 ",
  46.     "on the topic \042topic\042. ",
  47.     "It returns a handle to the DDE session. ",
  48.     "This handle must be passed to all subsequent DDE user code functions.\0",
  49. END
  50.  
  51.  
  52. DDETerminate DLL_HEADER LOADONCALL DISCARDABLE
  53. BEGIN
  54.     "\0",
  55.     "V\0",
  56.     "W\0",
  57.     "DDETerminate(ddelink)\r\n",
  58.     "\r\n",
  59.     "This function terminates the DDE session associated with ddelink. ",
  60.     "ddelink must have been initialized with a call to DDEInitialize prior to ",
  61.     "using this function.\0"
  62. END
  63.  
  64.  
  65. DDERequestString DLL_HEADER LOADONCALL DISCARDABLE
  66. BEGIN
  67.     "\0",
  68.     "W\0",
  69.     "WS\0",
  70.     "status := DDERequestString(ddelink,item)\r\n",
  71.     "\r\n",
  72.     "This function requests data specified by \042item\042 from the server as a string. ",
  73.     "Use DDEDataString to retrieve the string. ",
  74.     "ddelink must have been initialized with a call to DDEInitialize prior to ",
  75.     "using this function. "
  76.     "It returns 1 for success and 0 for failure.\0"
  77. END
  78.  
  79.  
  80. DDEDataString DLL_HEADER LOADONCALL DISCARDABLE
  81. BEGIN
  82.     "\0",
  83.     "S\0",
  84.     "W\0",
  85.     "data := DDEDataString(ddelink)\r\n",
  86.     "\r\n",
  87.     "This function returns the data from a DDERequestString. ",
  88.     "ddelink must have been initialized with a call to DDEInitialize prior to ",
  89.     "using this function. "
  90.     "It return a null string if the data is not yet available or if the ",
  91.     "DDERequestString call failed.\0"
  92. END
  93.  
  94.  
  95. DDEExecuteString DLL_HEADER LOADONCALL DISCARDABLE
  96. BEGIN
  97.     "\0",
  98.     "W\0",
  99.     "WS\0",
  100.     "status := DDEExecuteString(ddelink,item)\r\n",
  101.     "\r\n",
  102.     "This function requests the server to execute the string \042item\042. ",
  103.     "ddelink must have been initialized with a call to DDEInitialize prior to ",
  104.     "using this function. "
  105.     "It returns 1 if the request was made and 0 for failure.\0"
  106. END
  107.