Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

363 B
Raw Blame
#pragma once

#include <cstdint>
#include <windows.h>
#include <string>
#include <vector>

struct MonitorInfo {
    HMONITOR handle;
    int x;
    int y;
    int width;
    int height;
    std::wstring deviceName;
};

std::vector<MonitorInfo> enumerateMonitors();
HMONITOR findMonitorByDisplayId(int64_t displayId);
MonitorInfo getMonitorInfo(HMONITOR monitor);