diff --git a/modules/desktop_capture/win/screen_capture_utils.h b/modules/desktop_capture/win/screen_capture_utils.h index f494dd2176..5c4c11d542 100644 --- a/modules/desktop_capture/win/screen_capture_utils.h +++ b/modules/desktop_capture/win/screen_capture_utils.h @@ -15,6 +15,7 @@ #include #include "modules/desktop_capture/desktop_capturer.h" +#include "rtc_base/system/rtc_export.h" namespace webrtc { @@ -39,8 +40,8 @@ DesktopRect GetFullscreenRect(); // Get the rect of the screen identified by |screen|, relative to the primary // display's top-left. If the screen device key does not match |device_key|, or // the screen does not exist, or any error happens, an empty rect is returned. -DesktopRect GetScreenRect(DesktopCapturer::SourceId screen, - const std::wstring& device_key); +RTC_EXPORT DesktopRect GetScreenRect(DesktopCapturer::SourceId screen, + const std::wstring& device_key); } // namespace webrtc