Christopher Faylor wrote: > > It really depends on the context. Some (e.g. fhandler_console) try to cover all bases but I don't think it's right, or at least necessary HANDLE h = CreateFileA ("CONIN$", GENERIC_READ, FILE_SHARE_WRITE, <snip> if (h == INVALID_HANDLE_VALUE || h == NULL) Pierre