The description of the OS/2 2.0 version of the DosLogRead API follows:
APIRET16 APIENTRY16 DosLogRead((USHORT) LogHandle, (USHORT) Length, (PVOID) LogBuffer, (PUSHORT) ReadSize) 32-bit code Example using CSet/2
Parameters
LogHandle
Returns
Return code
DosLogRead returns the following values:
indicating Success.
non-zero
Possible reasons for failure:
In order to resolve successfully DosLogRead function calls in your program, the following lines must be added to the Linker Definition (DEF) file:
IMPORTS DOSLOGREAD=DOSCALL1.196
DosLogRead returns Error Log entries that are formatted in the manner of the 16 bit DosLogEntry API.