Dynamic vs. Static Error Log Record I.D. Registration

OS/2 2.0 users of the DosLogEntry API will not need to use the DosLogRegister API. The DosLogRegister API is only maintained on OS/2 2.0 to support existing OS/2 1.3 programs that did need to use the API.

The OS/2 2.0 version of the DosLogRegister API will always return a "default" Error Log record I.D.. It will accept a format template string as an input, but it will do nothing with the string since format template strings will not be saved within the OS/2 2.0 version of the Error Log file.

The OS/2 2.0 version of the DosLogEntry API will behave similarly to the OS/2 1.3 version of the API. Since the OS/2 2.0 version of the system Error Logging facility no longer supports the saving of format template strings within the Error Log file, it is necessary to provide a method by which DosLogEntry callers can associate their Error Log entry with a formatting (.DLL) routine. The OS/2 2.0 version of the DosLogEntry API will make a special interpretation of the Originator Name field within the packet header. It will be assumed that this name field (if not NULL) contains the name of a Error Log formatting .DLL module.


[Back: 16 Bit Error Logging API's for IBM OS/2 Version 2.1]
[Next: DosLogRegister]