Hello ! Adding a NvAPI_GetDisplayPortInfo to a working copy of the DisplayColorControl sample , I get weird resutls.
NV_DISPLAY_PORT_INFO pInfo = { 0 };
NvAPI_Status nvapiReturnStatus1;
printf("\n\tDisplay %d (DisplayId 0x%x):", j + 1, pDisplayID[j].displayId);
nvapiReturnStatus = NvAPI_Disp_ColorControl(pDisplayID[j].displayId, &colorData); <--- WORKS FINE
nvapiReturnStatus1 = NvAPI_GetDisplayPortInfo(0, pDisplayID[j].displayId , &pInfo); <--- ERROR !
nvapiReturnStatus1 returns 0xfffffff7 NVAPI_INCOMPATIBLE_STRUCT_VERSION.
Only 1 Struct Version is included with the SDK _NV_DISPLAY_PORT_INFO_V1 Struct Reference
Is it me ?