Hello! I’m trying to utilize NVAPI in order to change user profile settings programmatically, not through NVIDIA Control Panel.

I was wandering if it’s possible to change OGL_IMPLICIT_GPU_AFFINITY setting (prefered OpenGL GPU) with NvAPI_DRS_SetSetting?

It’s completely unclear what to write to binaryCurrentValue field of NVDRS_SETTING structure.
Haven’t found any documentation on that matter.

When I set prefered OpenGL GPU through the control panel to a specific GPU the value I get is:

id,2.0:1BB110DE,00001F00,GL - (304,4,161,8192) @ (0)

00001F00 - this part seems to be the handle of the physical GPU device.