use ref readonly

This commit is contained in:
qhy040404
2024-05-27 09:29:58 +08:00
parent 67f6fda900
commit cd91af8ae9

View File

@@ -60,7 +60,7 @@ internal static class User32
public static unsafe extern BOOL EqualRect(RECT* lprc1, RECT* lprc2);
[DebuggerStepThrough]
public static unsafe BOOL EqualRect(in RECT rc1, in RECT rc2)
public static unsafe BOOL EqualRect(ref readonly RECT rc1, ref readonly RECT rc2)
{
fixed (RECT* lprc1 = &rc1)
{