EXPORTS Statement: Example
◄EXPORTS► ◄Up► ◄Contents► ◄Index► ◄Back►
─────EXPORTS Statement: Example─────────────────────────────────────────────
EXPORTS
SampleRead = read2bin @8 24
StringIn = str1 @4 RESIDENTNAME
CharTest 6
This example defines three export functions:
■ SampleRead
■ StringIn
■ CharTest
The first two functions can be accessed either by their exported
names or by an ordinal number. In the application or DLL where
they are defined, these functions are named read2bin and str1,
respectively. The first and last functions run with I/O privilege
and therefore are given with the total size of the parameters.
-♦-