There are two major differences between the OS/2 2.0 version of DosLogRegister and the 1.3 version of the API:

DosLogRegister continues to support the existing alert notification registration function.

The description of the OS/2 2.0 version of the DosLogRegister API follows:

Syntax

        APIRET16 APIENTRY16 DosLogRegister((PUSHORT) LogHandle,
                                          (PVOID) LogRegList,
                                          (PUSHORT) RequestID)

32-bit code Example using CSet/2

Parameters

LogHandle

LogRegList RequestID

Returns

Return code

DosLogRegister returns the following values

  • Success

    non-zero