glfwGetWin32Monitor

Returns the display device name of the specified monitor.

version(GLFW_EXPOSE_NATIVE_WIN32)
export extern (C) @nogc nothrow __gshared
const(char)*
glfwGetWin32Monitor
(
GLFWmonitor* monitor
)

Return Value

Type: const(char)*

The UTF-8 encoded display device name (for example \\.\DISPLAY1\Monitor0) of the specified monitor, or null if an error occurred.

Thread Safety

This function may be called from any thread. Access is not synchronized.

Meta

Since

Added in version 3.1.

Ingroup: native