Set error in LoadNativeLibrary() on Windows.
commitf4e911459762048780f642b80e46f04c43c573e1
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 20 Mar 2014 06:07:26 +0000 (20 06:07 +0000)
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 20 Mar 2014 06:07:26 +0000 (20 06:07 +0000)
treef3523cd5e5d6be43a5957225c5afb730ac235d16
parent18053f969a4b7013de27db386ad8ea67bae4c470
Set error in LoadNativeLibrary() on Windows.

If the native library fails to load, call GetLastError() immediately and set error with the last system error code. The list of Windows system error codes can be found at:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms681381.aspx

BUG=353771
TBR=evan@chromium.org

Review URL: https://codereview.chromium.org/199413026

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258214 0039d316-1c4b-4281-b951-d872f2087c98
base/native_library.h
base/native_library_win.cc