mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00

* CreateFileW will return INVALID_HANDLE_VALUE (-1) on failure, not NULL (0). * MapViewOfFile will map the entire section if the size is 0. No explicit size is required. * If SEC_IMAGE is specified, the mapped image size may be different from the file size on the storage. Differential Revision: https://phabricator.services.mozilla.com/D32563 --HG-- extra : moz-landing-system : lando