Dell UP3017 Application Programming Interface Guide - Page 34

SetCustomColor, UBYTE u8ValC

Page 34 highlights

SetCustomColor Sets the custom color NOTE: Only works in Color Preset Custom Color. API MONITOR_CODE SetCustomColor (UBYTE u8Val, UBYTE u8ValR, UBYTE u8ValG, UBYTE u8ValB, UBYTE u8ValC, UBYTE u8ValM, UBYTE u8ValY) Params u8Val Custom color type 0 Gain 1 Offset 2 Hue 3 Saturation u8ValR R value, 0 to 100 u8ValG G value, 0 to 100 u8ValB B value, 0 to 100 u8ValC C value, 0 to 100 (Only valid for custom color types Hue and Saturation) u8ValM M value, 0 to 100 (Only valid for custom color types Hue and Saturation) u8ValY Y value, 0 to 100 (Only valid for custom color types Hue and Saturation) Return MONITOR_CODE Code describing the result of the API call 0 Success 1 Timeout 2 Parameters Error 3 Not connected -1 Other Failure 34 | Color Management

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61

34
|
Color Management
SetCustomColor
Sets the custom color
NOTE:
Only works in Color Preset Custom Color.
API
MONITOR_CODE SetCustomColor (UBYTE u8Val,
UBYTE u8ValR, UBYTE u8ValG, UBYTE u8ValB,
UBYTE u8ValC, UBYTE u8ValM, UBYTE u8ValY)
Params
u8Val
Custom color type
0
Gain
1
Offset
2
Hue
3
Saturation
u8ValR
R value, 0 to 100
u8ValG
G value, 0 to 100
u8ValB
B value, 0 to 100
u8ValC
C value, 0 to 100 (Only valid for custom color types Hue and
Saturation)
u8ValM
M value, 0 to 100 (Only valid for custom color types Hue and
Saturation)
u8ValY
Y value, 0 to 100 (Only valid for custom color types Hue and
Saturation)
Return
MONITOR_CODE
Code describing the result of the API call
0
Success
1
Timeout
2
Parameters Error
3
Not connected
-1
Other Failure