************************************************************************* * * Copyright (c) 1997 Data Access Corporation, Miami Florida, * All rights reserved. * DataFlex is a registered trademark of Data Access Corporation. * ************************************************************************* * * Module Name: * DLL.PKG * * Creator: * Data Access Corporation * * Purpose: * Define the commands and replacements needed to call external * function in Dynamic Link Libraies. * * Modifications: * JVH - Apr 30, 1999 * Changed Pointer, DWord & Handle types from Number to Integer. They * should always have been this way. Now we can use the Handle type * to store Object ID's. * Previously we defined the pointer data type as a DataFlex number. * This was a flag that will tell the DLL calling code that the passed parameter * is a pointer and should be placed on the stack as a 4 byte value. (no longer done) * JJT: 3/28/2006 - moved the alias datatypes (handle, pointer, dword, void_type) and the * external function calls to fmac. * ************************************************************************* Define the sizes of the known data types
DWORDtoBytes(Integer aDWORD)
SHORTtoBytes(Integer aSHORT)
BytesToSHORT(String Buffer Integer Offset)
in1
in2
BytesToDWORD(String Buffer Integer Offset)
in1
in2
in3
in4
CVTtoBytes(Integer iValue Integer Offset Integer DSize String Host)
Buff
BytestoCVT(String sValue Integer Offset Integer DSize)
iValue
StringtoBytes(String sValue Integer Offset Integer DSize String Host)
Buff
Len
MemoryGetByte(Integer Buffer Integer Offset)
in1
MemoryGetWord(Integer Buffer Integer Offset)
in1
MemoryGetDWORD(Integer Buffer Integer Offset)
in1
MemoryGetField(Integer pSource Integer pDest Integer iOffset Integer iSize)
bOk
MemoryPutByte(Integer iValue Integer Offset integer Host)
in1
MemoryPutWord(Integer iValue Integer Offset integer Host)
in1
MemoryPutDWord(Integer iValue Integer Offset integer Host)
in1
MemoryPutField(Integer pSource Integer pDest Integer iOffset Integer iSize)
bOk| Module | Containing Symbol | Line |
|---|