------------------------------------------------------------------------------- Load the light colors from the registry -------------------------------------------------------------------------------
| 156 | // Load the light colors from the registry |
| 157 | //------------------------------------------------------------------------------- |
| 158 | void LoadLightColors() { |
| 159 | DWORD dwTemp = 4; |
| 160 | RegQueryValueEx(g_hRegistry,"LightColor0",nullptr,nullptr, (BYTE*)&g_avLightColors[0],&dwTemp); |
| 161 | RegQueryValueEx(g_hRegistry,"LightColor1",nullptr,nullptr, (BYTE*)&g_avLightColors[1],&dwTemp); |
| 162 | RegQueryValueEx(g_hRegistry,"LightColor2",nullptr,nullptr, (BYTE*)&g_avLightColors[2],&dwTemp); |
| 163 | } |
| 164 | |
| 165 | //------------------------------------------------------------------------------- |
| 166 | // Save the light colors to the registry |