![]() |
Adobe Photoshop SDK |
|
ColorServicesInfo Struct ReferenceThis data structure is used in the ColorServicesProc callback function. More...
Detailed DescriptionThis data structure is used in the ColorServicesProc callback function.
Field DocumentationSize of the ColorServicesInfo record in bytes. The value is used as a version identifier in case this record is expanded in the future. It can be filled in as follows: ColorServicesInfo requestInfo; requestInfo.infoSize = sizeof(requestInfo); Operation performed by the ColorServices callback. Indicates the color space of the input color contained in colorComponents.
For Desired color space of the result color.
The result is contained in the colorComponents field. For the This output only field indicates whether the resultInGamut field has been set.
In Photoshop 3.0 and later, this is only true for colors returned in the
Indicates whether the returned color is in gamut for the currently selected printing setup. Only meaningful if resultGamutInfoValid=TRUE. Both voids must be NULL or will return paramErr: Must be NULL, otherwise returns parameter error.
Must be NULL, otherwise returns parameter error.
Actual color components of the input or output color. The values of the array depend on the color space.
Reserved must be NULL or will return paramErr: Must be NULL, otherwise returns parameter error.
Contains a pointer to a Pascal string which is used as a prompt in the color picker for the NULL can be passed to indicate no prompt.
Points to a
should be either:
This union is used for providing different information based on the selector field.
The documentation for this struct was generated from the following file: |