Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> exports</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 EXPORTS
------------------------------------------------------------------------------
 Purpose:
 Define exported functions

 Syntax:
 EXPORTS entryname [=internalname] [@ord [nametable]] [DATA] [NODATA]

 Examples:
 EXPORTS  Initialise @1 NONAME
 ResetRdr RESIDENTNAME
 EndRdr = ReaderEnd

 This command makes listed functions in a DLL (which are by default hidden)
 available to other executable files at run time.
 entryname defines the function name as it is known to other programs, i.e.
 as it is actually exported.

 internalname defines the actual name of the function as it appears within
 the exporting program. This is by default the same as entryname.
 ord defines a function's ordinal position within the module definition
 table, i.e. the number referenced by an import definition to identify the
 function within the DLL.

 nametable is one of two optional keywords RESIDENTNAME or NONAME which
 determine whether the entry name is placed in the resident or non-resident
 names table, or discarded at link time. By default, the symbol can only be
 imported using the ordinal, although the entry name is stored in the non
 resident names table.

 NONAME means that the symbol name is not stored in the program at all, so it
 can only be imported using the specified ordinal.
 RESIDENTNAME stores the name in the resident names table and allows the
 symbol to be directly imported by name.

 DATA is only valid for 32 bit programs and specifies that the exported item
 is a data item. The data item in the client program must be declared using
 extern __declspec(dllimport).

 NODATA specifies that there is no static data in the function, so the
 function will use the current data segment.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson