thanks for taking care of this 1) from pattern page Rémi pointed out, failures to get export also exist in Win8, so your patch title should be modified accordingly 2) testing for skip_nt on top of test_FreeConsoleStd(void) alongside pVerifyConsoleIoHandle should workaround the Win7 failures
the rest LGTM