Guillermo RP
New Member
I´m working on a wrapper for obs (libobs) in c++. This project is multiplatform (win, linux, mac). I need to get a list of available monitors (index, name or/and id, current resolution...)
I found some files were i think it is posible to get this info but all of these are only for windows ([d3d11_subsystem.cpp - LogAdapterMonitors(...)], [using winapi like monitor-capture.c - EnumDisplayMonitors(NULL, NULL, enum_monitor, (LPARAM)&monitor);]).
Is there any multiplatform function that will take care of it?
On another hand, where can i find the source code for the "Display capture" form in the ui project¿? the code to fill monitor list in the properties of Display Capture source.
PD: sorry for my bad english.
I found some files were i think it is posible to get this info but all of these are only for windows ([d3d11_subsystem.cpp - LogAdapterMonitors(...)], [using winapi like monitor-capture.c - EnumDisplayMonitors(NULL, NULL, enum_monitor, (LPARAM)&monitor);]).
Is there any multiplatform function that will take care of it?
On another hand, where can i find the source code for the "Display capture" form in the ui project¿? the code to fill monitor list in the properties of Display Capture source.
PD: sorry for my bad english.
Attachments
Last edited: