API for Adding Displays in My Application

I want to perform the screen addition process in my application via APIs, just like it’s done in a Windows application. I couldn’t find the relevant API. How should I do this?