PUBLICDLL Make symbol available in DLL Directive
PUBLICDLL [language] symbol [,[language] symbol]...
Declares symbol to be accessible from other modules as a dynamic link
entry point. Symbol is published in the object file as a dynamic link
entry point (using EXPDEF and IMPDEF records) so that it can be
accessed by other programs.
If language is specified (C, CPP, PASCAL, BASIC, FORTRAN, PROLOG, or
NOLANGUAGE), symbol is made public after having the naming conventions
of the specified language applied to it.
Example: model small
includelib "SDLLCEW"
includelib "LIBW"
dataseg
extrn C acrtused:abs
include "windows.inc"
;...
codeseg
proc SetHello windows pascal FAR
PUBLICDLL pascal SetHello ; Make public
arg @@arg1 :dword
uses es,si,di
;...