SetDisplayConfig function user32
int
SetDisplayConfig(
- int numPathArrayElements,
- Pointer<
DISPLAYCONFIG_PATH_INFO> pathArray, - int numModeInfoArrayElements,
- Pointer<
DISPLAYCONFIG_MODE_INFO> modeInfoArray, - int flags,
The SetDisplayConfig function modifies the display topology, source, and target modes by exclusively enabling the specified paths in the current session.
LONG SetDisplayConfig(
[in] UINT32 numPathArrayElements,
[in, optional] DISPLAYCONFIG_PATH_INFO *pathArray,
[in] UINT32 numModeInfoArrayElements,
[in, optional] DISPLAYCONFIG_MODE_INFO *modeInfoArray,
[in] UINT32 flags
);
Implementation
int SetDisplayConfig(
int numPathArrayElements,
Pointer<DISPLAYCONFIG_PATH_INFO> pathArray,
int numModeInfoArrayElements,
Pointer<DISPLAYCONFIG_MODE_INFO> modeInfoArray,
int flags) =>
_SetDisplayConfig(numPathArrayElements, pathArray, numModeInfoArrayElements,
modeInfoArray, flags);