
Printf("Setting Binary (length=%d) :", setArray.binar圜urrentValue.valueLength) įor(len=0 len

Throw std::runtime_error("NvAPI: Can't get global profile") If (NvAPI_DRS_GetCurrentGlobalProfile(_session, &_profile) != NVAPI_OK) Throw std::runtime_error("NvAPI: Can't load system settings") If (NvAPI_DRS_LoadSettings(_session) != NVAPI_OK) Throw std::runtime_error("NvAPI: Can't create NvAPI session") If (NvAPI_DRS_CreateSession(&_session) != NVAPI_OK) Throw std::runtime_error("NvAPI: NvAPI can't be initialized") Here is what I have so far, mostly basing myself on samples I've found around the web: #include

The reference documentation is here: NVAPI Driver Settings (DRS) APIs Source I want to use NVIDIA's NVAPI SDK to retrieve all the settings exposed in the NVIDIA Control Panel's 3D Settings' Global profile.
