mhartman1
Technical User
- May 5, 2006
- 155
Hello: Can anyone tell me the correct way to call the following API function:
Public Declare Function ColorRGBToHLS Lib "shlwapi.dll" (ByVal clrRGB As Long,
pwHue As Long, pwLuminance As Long, pwSaturation As Long) As Long
As a start, what is the "clrRGB" expecting? a hex value maybe? Or does a special word have to be assemble for this parameter?
Also, I am assuming that the pwHue, pwLuminance and pwSaturation paramenters are the values being returned, but I cannot get past the "clrRgb" part
Many thanks in advance
Mark
Public Declare Function ColorRGBToHLS Lib "shlwapi.dll" (ByVal clrRGB As Long,
pwHue As Long, pwLuminance As Long, pwSaturation As Long) As Long
As a start, what is the "clrRGB" expecting? a hex value maybe? Or does a special word have to be assemble for this parameter?
Also, I am assuming that the pwHue, pwLuminance and pwSaturation paramenters are the values being returned, but I cannot get past the "clrRgb" part
Many thanks in advance
Mark