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