don't attempt to start steam overlay when vrchat is running with --no-vr

This commit is contained in:
Katie Holly
2020-10-17 09:52:43 +02:00
parent 69ee901dd0
commit e2f732b173
2 changed files with 29 additions and 2 deletions

View File

@@ -15,5 +15,8 @@ namespace VRCX
[DllImport("user32.dll")]
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
[DllImport("user32.dll", SetLastError = true)]
public static extern UInt32 GetWindowThreadProcessId(IntPtr hWnd, out Int32 lpdwProcessId);
}
}