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

  1. /*
  2.     
  3.     AWITOOLS.RC -- Resource File for AWITOOLS.UCD
  4.     Copyright 1987-1991, Authorware, Inc.
  5.   
  6.     Revision History
  7.  
  8.         7/25/91    -    Initial version
  9.  
  10. */
  11. #include "windows.h"
  12.  
  13.                                 
  14. /* 
  15.     The following custom resource is the directory of functions which can be
  16.     accessed by APW.  Each function is defined in detail by its own custom
  17.     resource.
  18. */
  19.                             
  20. 1 DLL_HEADER LOADONCALL DISCARDABLE
  21. BEGIN
  22.     "PokeByte\0",
  23.     "PeekByte\0",
  24.     "PeekUByte\0",
  25.     "PeekShort\0",
  26.     "PokeUShort\0",
  27.     "PeekUShort\0",
  28.     "PeekLong\0",
  29.     "PokeULong\0",
  30.     "PeekULong\0",
  31.     "PeekFloat\0",
  32.     "PokeFloat\0",
  33.     "PokeDouble\0",
  34.     "PeekDouble\0",
  35.     "PokeString\0",
  36.     "PeekString\0",
  37.     "\0"
  38. END
  39.  
  40.  
  41. /* 
  42.     The following are the custom resources which define all attributes for
  43.     loading a specific function. Each function is listed in the directory
  44.     of funtions.
  45. */
  46.  
  47. PokeByte DLL_HEADER LOADONCALL DISCARDABLE
  48. BEGIN
  49.     "\0",
  50.     "V\0",
  51.     "PLB\0",
  52.     "PokeByte(ptr,offset,value)\r\n",
  53.     "\r\n",
  54.     "This function puts the byte value at the byte offset ",
  55.     "into the far pointer ptr. ptr must have been previously allocated ",
  56.     "by the Windows GlobalAlloc function and locked using the GlobalLock ",
  57.     "function.\0"
  58. END
  59.  
  60.  
  61. PeekByte DLL_HEADER LOADONCALL DISCARDABLE
  62. BEGIN
  63.     "\0",
  64.     "C\0",
  65.     "PL\0",
  66.     "result := PeekByte(ptr,offset)\r\n",
  67.     "\r\n",
  68.     "This function returns the byte value in ptr at the byte offset. ",
  69.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  70.     "function and locked using the GlobalLock function.\0"
  71. END
  72.  
  73.  
  74. PeekUByte DLL_HEADER LOADONCALL DISCARDABLE
  75. BEGIN
  76.     "\0",
  77.     "B\0",
  78.     "PL\0",
  79.     "result := PeekUByte(ptr,offset)\r\n",
  80.     "\r\n",
  81.     "This function returns the unsigned byte value in ptr at the byte offset. ",
  82.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  83.     "function and locked using the GlobalLock function.\0"
  84. END
  85.  
  86.  
  87. PeekShort DLL_HEADER LOADONCALL DISCARDABLE
  88. BEGIN
  89.     "\0",
  90.     "I\0",
  91.     "PL\0",
  92.     "result := PeekShort(ptr,offset)\r\n",
  93.     "\r\n",
  94.     "This function returns the short value in ptr at the byte offset. ",
  95.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  96.     "function and locked using the GlobalLock function.\0"
  97. END
  98.  
  99.  
  100. PokeUShort DLL_HEADER LOADONCALL DISCARDABLE
  101. BEGIN
  102.     "\0",
  103.     "V\0",
  104.     "PLW\0",
  105.     "PokeUShort(ptr,offset,value)\r\n",
  106.     "\r\n",
  107.     "This function puts the short value at the byte offset ",
  108.     "into the far pointer ptr. ptr must have been previously allocated ",
  109.     "by the Windows GlobalAlloc function and locked using the GlobalLock ",
  110.     "function.\0"
  111. END
  112.  
  113.  
  114. PeekUShort DLL_HEADER LOADONCALL DISCARDABLE
  115. BEGIN
  116.     "\0",
  117.     "W\0",
  118.     "PL\0",
  119.     "result := PeekUShort(ptr,offset)\r\n",
  120.     "\r\n",
  121.     "This function returns the unsigned short value in ptr at the byte offset. ",
  122.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  123.     "function and locked using the GlobalLock function.\0"
  124. END
  125.  
  126.  
  127. PeekLong DLL_HEADER LOADONCALL DISCARDABLE
  128. BEGIN
  129.     "\0",
  130.     "L\0",
  131.     "PL\0",
  132.     "result := PeekLong(ptr,offset)\r\n",
  133.     "\r\n",
  134.     "This function returns the long value in ptr at the byte offset. ",
  135.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  136.     "function and locked using the GlobalLock function.\0"
  137. END
  138.  
  139.  
  140. PokeULong DLL_HEADER LOADONCALL DISCARDABLE
  141. BEGIN
  142.     "\0",
  143.     "V\0",
  144.     "PLU\0",
  145.     "PokeULong(ptr,offset,value)\r\n",
  146.     "\r\n",
  147.     "This function puts the long value at the byte offset ",
  148.     "into the far pointer ptr. ptr must have been previously allocated ",
  149.     "by the Windows GlobalAlloc function and locked using the GlobalLock ",
  150.     "function.\0"
  151. END
  152.  
  153.  
  154. PeekULong DLL_HEADER LOADONCALL DISCARDABLE
  155. BEGIN
  156.     "\0",
  157.     "U\0",
  158.     "PL\0",
  159.     "result := PeekULong(ptr,offset)\r\n",
  160.     "\r\n",
  161.     "This function returns the unsigned long value in ptr at the byte offset. ",
  162.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  163.     "function and locked using the GlobalLock function.\0"
  164. END
  165.  
  166.  
  167. PokeFloat DLL_HEADER LOADONCALL DISCARDABLE
  168. BEGIN
  169.     "\0",
  170.     "V\0",
  171.     "PLF\0",
  172.     "PokeFloat(ptr,offset,value)\r\n",
  173.     "\r\n",
  174.     "This function puts the float value at the byte offset ",
  175.     "into the far pointer ptr. ptr must have been previously allocated ",
  176.     "by the Windows GlobalAlloc function and locked using the GlobalLock ",
  177.     "function.\0"
  178. END
  179.  
  180.  
  181. PeekFloat DLL_HEADER LOADONCALL DISCARDABLE
  182. BEGIN
  183.     "\0",
  184.     "F\0",
  185.     "PL\0",
  186.     "result := PeekFloat(ptr,offset)\r\n",
  187.     "\r\n",
  188.     "This function returns the float value in ptr at the byte offset. ",
  189.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  190.     "function and locked using the GlobalLock function.\0"
  191. END
  192.  
  193.  
  194. PokeDouble DLL_HEADER LOADONCALL DISCARDABLE
  195. BEGIN
  196.     "\0",
  197.     "V\0",
  198.     "PLD\0",
  199.     "PokeDouble(ptr,offset,value)\r\n",
  200.     "\r\n",
  201.     "This function puts the double value at the byte offset ",
  202.     "into the far pointer ptr. ptr must have been previously allocated ",
  203.     "by the Windows GlobalAlloc function and locked using the GlobalLock ",
  204.     "function.\0"
  205. END
  206.  
  207.  
  208. PeekDouble DLL_HEADER LOADONCALL DISCARDABLE
  209. BEGIN
  210.     "\0",
  211.     "D\0",
  212.     "PL\0",
  213.     "result := PeekDouble(ptr,offset)\r\n",
  214.     "\r\n",
  215.     "This function returns the double value in ptr at the byte offset. ",
  216.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  217.     "function and locked using the GlobalLock function.\0"
  218. END
  219.  
  220.  
  221. PokeString DLL_HEADER LOADONCALL DISCARDABLE
  222. BEGIN
  223.     "\0",
  224.     "V\0",
  225.     "PLS\0",
  226.     "PokeString(ptr,offset,value)\r\n",
  227.     "\r\n",
  228.     "This function puts the string value at the byte offset ",
  229.     "into the far pointer ptr. ptr must have been previously allocated ",
  230.     "by the Windows GlobalAlloc function and locked using the GlobalLock ",
  231.     "function. The string value must be zero terminated.\0"
  232. END
  233.  
  234.  
  235. PeekString DLL_HEADER LOADONCALL DISCARDABLE
  236. BEGIN
  237.     "\0",
  238.     "S\0",
  239.     "PL\0",
  240.     "result := PeekString(ptr,offset)\r\n",
  241.     "\r\n",
  242.     "This function returns the string value in ptr at the byte offset. ",
  243.     "ptr must have been previously allocated by the Windows GlobalAlloc ",
  244.     "function and locked using the GlobalLock function. The string value ",
  245.     "must be zero terminated.\0"
  246. END
  247.  
  248.