c076ffb020
Nothing in the MSDN API says that setting NULL is safe. And if the implementation uses WriteFile directly, it crashes.