Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ThrowExceptionForHR() [1/2]

static void System.Runtime.InteropServices.Marshal.ThrowExceptionForHR ( int errorCode)
inlinestatic

Definition at line 1232 of file Marshal.cs.

1233 {
1234 if (errorCode < 0)
1235 {
1236 throw GetExceptionForHR(errorCode);
1237 }
1238 }
static ? Exception GetExceptionForHR(int errorCode)
Definition Marshal.cs:1218

References System.Runtime.InteropServices.Marshal.GetExceptionForHR().

Referenced by Interop.Kernel32.ProcessWaitHandle.ProcessWaitHandle(), and System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.Reset().