public void ResolutionChanged(uint width, uint height) { RenderFormatUpdate?.Invoke(0, width, height, 0); } public void UpdateForegroundProcessId(uint foregroundProcessId)