home *** CD-ROM | disk | FTP | other *** search
- /*
-
- AWITOOLS.RC -- Resource File for AWITOOLS.UCD
- Copyright 1987-1991, Authorware, Inc.
-
- Revision History
-
- 7/25/91 - Initial version
-
- */
- #include "windows.h"
-
-
- /*
- The following custom resource is the directory of functions which can be
- accessed by APW. Each function is defined in detail by its own custom
- resource.
- */
-
- 1 DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "PokeByte\0",
- "PeekByte\0",
- "PeekUByte\0",
- "PeekShort\0",
- "PokeUShort\0",
- "PeekUShort\0",
- "PeekLong\0",
- "PokeULong\0",
- "PeekULong\0",
- "PeekFloat\0",
- "PokeFloat\0",
- "PokeDouble\0",
- "PeekDouble\0",
- "PokeString\0",
- "PeekString\0",
- "\0"
- END
-
-
- /*
- The following are the custom resources which define all attributes for
- loading a specific function. Each function is listed in the directory
- of funtions.
- */
-
- PokeByte DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "V\0",
- "PLB\0",
- "PokeByte(ptr,offset,value)\r\n",
- "\r\n",
- "This function puts the byte value at the byte offset ",
- "into the far pointer ptr. ptr must have been previously allocated ",
- "by the Windows GlobalAlloc function and locked using the GlobalLock ",
- "function.\0"
- END
-
-
- PeekByte DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "C\0",
- "PL\0",
- "result := PeekByte(ptr,offset)\r\n",
- "\r\n",
- "This function returns the byte value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PeekUByte DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "B\0",
- "PL\0",
- "result := PeekUByte(ptr,offset)\r\n",
- "\r\n",
- "This function returns the unsigned byte value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PeekShort DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "I\0",
- "PL\0",
- "result := PeekShort(ptr,offset)\r\n",
- "\r\n",
- "This function returns the short value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PokeUShort DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "V\0",
- "PLW\0",
- "PokeUShort(ptr,offset,value)\r\n",
- "\r\n",
- "This function puts the short value at the byte offset ",
- "into the far pointer ptr. ptr must have been previously allocated ",
- "by the Windows GlobalAlloc function and locked using the GlobalLock ",
- "function.\0"
- END
-
-
- PeekUShort DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "W\0",
- "PL\0",
- "result := PeekUShort(ptr,offset)\r\n",
- "\r\n",
- "This function returns the unsigned short value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PeekLong DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "L\0",
- "PL\0",
- "result := PeekLong(ptr,offset)\r\n",
- "\r\n",
- "This function returns the long value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PokeULong DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "V\0",
- "PLU\0",
- "PokeULong(ptr,offset,value)\r\n",
- "\r\n",
- "This function puts the long value at the byte offset ",
- "into the far pointer ptr. ptr must have been previously allocated ",
- "by the Windows GlobalAlloc function and locked using the GlobalLock ",
- "function.\0"
- END
-
-
- PeekULong DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "U\0",
- "PL\0",
- "result := PeekULong(ptr,offset)\r\n",
- "\r\n",
- "This function returns the unsigned long value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PokeFloat DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "V\0",
- "PLF\0",
- "PokeFloat(ptr,offset,value)\r\n",
- "\r\n",
- "This function puts the float value at the byte offset ",
- "into the far pointer ptr. ptr must have been previously allocated ",
- "by the Windows GlobalAlloc function and locked using the GlobalLock ",
- "function.\0"
- END
-
-
- PeekFloat DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "F\0",
- "PL\0",
- "result := PeekFloat(ptr,offset)\r\n",
- "\r\n",
- "This function returns the float value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PokeDouble DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "V\0",
- "PLD\0",
- "PokeDouble(ptr,offset,value)\r\n",
- "\r\n",
- "This function puts the double value at the byte offset ",
- "into the far pointer ptr. ptr must have been previously allocated ",
- "by the Windows GlobalAlloc function and locked using the GlobalLock ",
- "function.\0"
- END
-
-
- PeekDouble DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "D\0",
- "PL\0",
- "result := PeekDouble(ptr,offset)\r\n",
- "\r\n",
- "This function returns the double value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function.\0"
- END
-
-
- PokeString DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "V\0",
- "PLS\0",
- "PokeString(ptr,offset,value)\r\n",
- "\r\n",
- "This function puts the string value at the byte offset ",
- "into the far pointer ptr. ptr must have been previously allocated ",
- "by the Windows GlobalAlloc function and locked using the GlobalLock ",
- "function. The string value must be zero terminated.\0"
- END
-
-
- PeekString DLL_HEADER LOADONCALL DISCARDABLE
- BEGIN
- "\0",
- "S\0",
- "PL\0",
- "result := PeekString(ptr,offset)\r\n",
- "\r\n",
- "This function returns the string value in ptr at the byte offset. ",
- "ptr must have been previously allocated by the Windows GlobalAlloc ",
- "function and locked using the GlobalLock function. The string value ",
- "must be zero terminated.\0"
- END
-
-