Patch for ReadFile with NULL hEvent