Use Marshal.GetHRForException everywhere
このコミットが含まれているのは:
1 親
011accfc26
コミット
11d1ad92cf
4ファイル変更
+12
-12
検索条件に一致するファイルはありません
+3
-3
@@ -131,7 +131,7 @@ unsafe partial struct D2D1TransformMapperImpl
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return e.HResult;
|
||||
return Marshal.GetHRForException(e);
|
||||
}
|
||||
|
||||
*outputRect = output.ToRECT();
|
||||
@@ -163,7 +163,7 @@ unsafe partial struct D2D1TransformMapperImpl
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return e.HResult;
|
||||
return Marshal.GetHRForException(e);
|
||||
}
|
||||
|
||||
for (int i = 0; i < (int)inputRectsCount; i++)
|
||||
@@ -192,7 +192,7 @@ unsafe partial struct D2D1TransformMapperImpl
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return e.HResult;
|
||||
return Marshal.GetHRForException(e);
|
||||
}
|
||||
|
||||
*invalidOutputRect = invalidOutput.ToRECT();
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする