Control Program Programming Guide and Reference Errata

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.