45 references to GetHRForLastWin32Error
mscorlib (5)
system\environment.cs (4)
495Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 504Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 525Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 534Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
system\runtime\interopservices\marshal.cs (1)
1213ThrowExceptionForHR(GetHRForLastWin32Error());
PresentationCore (5)
Core\CSharp\System\Windows\Media\ColorContext.cs (2)
770HRESULT.Check(Marshal.GetHRForLastWin32Error()); 784HRESULT.Check(Marshal.GetHRForLastWin32Error());
Core\CSharp\System\Windows\Media\ColorContextHelper.cs (1)
136HRESULT.Check(Marshal.GetHRForLastWin32Error());
Core\CSharp\System\Windows\Media\ColorTransformHelper.cs (1)
135HRESULT.Check(Marshal.GetHRForLastWin32Error());
Shared\MS\Win32\WinInet.cs (1)
44int hr = Marshal.GetHRForLastWin32Error();
System (7)
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
442Int32 hresult = Marshal.GetHRForLastWin32Error();
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
680hr = Marshal.GetHRForLastWin32Error();
security\system\security\cryptography\x509\x509chain.cs (1)
399return Marshal.GetHRForLastWin32Error();
security\system\security\cryptography\x509\x509extension.cs (2)
543throw new CryptographicException(Marshal.GetHRForLastWin32Error()); 558throw new CryptographicException(Marshal.GetHRForLastWin32Error());
security\system\security\cryptography\x509\x509utils.cs (1)
583return Marshal.GetHRForLastWin32Error();
services\monitoring\system\diagnosticts\processwaithandle.cs (1)
25Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
System.Configuration (4)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
110Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 177Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
System\Configuration\FileUtil.cs (1)
35int hr = Marshal.GetHRForLastWin32Error();
System\Configuration\RSAProtectedConfigurationProvider.cs (1)
200int hr = Marshal.GetHRForLastWin32Error();
System.Data (3)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (2)
1262waitForMultipleObjectsExHR = Marshal.GetHRForLastWin32Error(); 1384releaseSemaphoreResult = Marshal.GetHRForLastWin32Error();
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
203int lastError = Marshal.GetHRForLastWin32Error();
System.Security (5)
system\security\cryptography\pkcs\envelopedpkcs7.cs (2)
293hr2 = Marshal.GetHRForLastWin32Error(); 338hr2 = Marshal.GetHRForLastWin32Error();
system\security\cryptography\pkcs\pkcsutils.cs (1)
897hr = Marshal.GetHRForLastWin32Error();
system\security\cryptography\x509\x509utils.cs (2)
348return Marshal.GetHRForLastWin32Error(); 404return Marshal.GetHRForLastWin32Error();
System.Web (4)
Configuration\RemoteWebConfigurationHostServer.cs (1)
139Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
Util\FileUtil.cs (2)
371int hr = Marshal.GetHRForLastWin32Error(); 404int hr = Marshal.GetHRForLastWin32Error();
Util\StopListeningWaitHandle.cs (1)
39int hr = Marshal.GetHRForLastWin32Error();
System.Workflow.Runtime (10)
DebugEngine\DebugController.cs (10)
104Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 135Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 147Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 160Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 164Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 180Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 191Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 206Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 212Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error()); 216Marshal.ThrowExceptionForHR(Marshal.GetHRForLastWin32Error());
WindowsBase (2)
Base\System\Windows\SplashScreen.cs (1)
243UnsafeNativeMethods.HRESULT.Check(Marshal.GetHRForLastWin32Error());
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
442Int32 hresult = Marshal.GetHRForLastWin32Error();