LogOpen is a 32-bit system Error Logging facility high level API. It is used to open a connection to the facility (through the System Logging Service device driver).
The description of the LogOpen API call follows:
Syntax
APIRET APIENTRY LogOpen(PHFILE phf);
Parameters
phf
Returns
Return code.
LogOpen returns the following values:
non-zero
Remarks
The file handle that is returned by the LogOpen API is required in all subsequent high level system Error Logging facility API calls.
In order to resolve successfully LogOpen function calls in your program, the following lines must be added to the Linker Definition (DEF) file:
IMPORTS LogOpen=DOSCALL1.430