Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DLL Declarations

5 views
Skip to first unread message

Mike Wheaton

unread,
Apr 29, 2004, 6:11:15 PM4/29/04
to
Does anyone know how to write a Delphi declaration for the following...
------------------------------------
#define PSORTDISPLAY void CALLBACK
typedef void
(CALLBACK *PSORTDISPLAYPTR)(
LPCSTR /* NULL terminated string which
* contains the message. It will
* usually be terminated with a
* newline */
);
------------------------------------
#define PSORTWRITE int CALLBACK
typedef int
(CALLBACK *PSORTWRITEPTR)(
size_t,
/* size of record to be written. Will be a
* non-zero value unless there are no more
* records to be written. In that case it will
* be equal to 0. */
LPSTR
/* address of record to be written. Will
* equal NULL if there are no more records to
* be written. */
);
------------------------------------
void WINAPI
PsortDestroy(PSORTHANDLE);
0 new messages