Control Program Programming Guide and Reference Errata: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
This refers to the guide in the OS/2 | This refers to the guide in the OS/2 Toolkit 4.5 | ||
=== DosSetFHState Parameter List === | === DosSetFHState Parameter List === | ||
The constant OPEN_FAIL_ON_ERROR seems undefined in os2.h, possible workaround: | The constant OPEN_FAIL_ON_ERROR seems undefined in os2.h, possible workaround: | ||
const unsigned long int open_fail_on_error = 0x2000; // bit 13 | const unsigned long int open_fail_on_error = 0x2000; // bit 13 | ||
The bit mask for OPEN_FLAGS_NO_CACHE is wrong in the manual, it should be 0x00001000. It is correct in os2.h though. | |||
[[Category:The OS/2 API Project]] | |||
[[Category:The OS/2 API Project] |
Latest revision as of 20:56, 22 August 2022
This refers to the guide in the OS/2 Toolkit 4.5
DosSetFHState Parameter List
The constant OPEN_FAIL_ON_ERROR seems undefined in os2.h, possible workaround:
const unsigned long int open_fail_on_error = 0x2000; // bit 13
The bit mask for OPEN_FLAGS_NO_CACHE is wrong in the manual, it should be 0x00001000. It is correct in os2.h though.