j
k
j a
j l
WCMD_fgets()/WCMD_ReadFile() are called with either a handle returned from CreateFileW() or GetStdHandle(STD_INPUT_HANDLE). So using h == GetStdHandle(STD_INPUT_HANDLE) seems clear and consistent to me.
Back to the thread
Back to the list