PIPickerParams Struct Reference

This structure is passed to the plug-in module through the parameter block. More...

#include <PIPicker.h>

Data Fields

int32 serialNumber
TestAbortProc abortProc
 A pointer to the TestAbortProc callback.
ProgressProc progressProc
 A pointer the the ProgressProc callback.
OSType hostSig
 The signature of the host, provided by the host.
HostProc hostProc
 A pointer to a host-defined callback procedure.
BufferProcsbufferProcs
 A pointer to the Buffer suite if it is supported by the host, otherwise NULL.
ResourceProcsresourceProcs
 A pointer to the Pseudo-Resource suite if it is supported by the host, otherwise NULL.
ProcessEventProc processEvent
 A pointer to the ProcessEventProc callback if it is supported by the host, otherwise NULL.
DisplayPixelsProc displayPixels
 A pointer to the DisplayPixelsProc callback if it is supported by the host, otherwise NULL.
HandleProcshandleProcs
 A pointer to the Handle callback suite if it is supported by the host, otherwise NULL.
ColorServicesProc colorServices
 A pointer to the ColorServices callback if it is supported by the host, otherwise NULL.
ImageServicesProcsimageServicesProcs
 Suite of image processing callbacks.
PropertyProcspropertyProcs
 Property callback suite.
ChannelPortProcschannelPortProcs
 Suite for passing pixels through channel ports.
PIDescriptorParametersdescriptorParameters
 Descriptor callback suite.
Str255 * errorString
 An error reporting string to return to Photoshop.
PlugInMonitor monitor
 Monitor setup information for the host.
void * platformData
 A pointer to platform specific data.
char reserved [4]
 Reserved for future use.
PickParms pickParms
 Picker parameters used to pass the original color in to the plug-in suite, and the returned color back to the host.
SPBasicSuite * sSPBasic
 PICA basic suite.
void * plugInRef
 Plug-in reference used by PICA.
char reservedBlock [252]
 Reserved for future use.

Detailed Description

This structure is passed to the plug-in module through the parameter block.

See Plug-in Entry Point for an explanation of how the host calls a plug-in.


Field Documentation

Deprecated:
Formerly the host serial number.

The host now reports zero for the serialNumber. Plug-ins should use the Property Suite Callbacks through the PIPickerParams::propertyProcs field and specify propSerialString2 to get the serial string.

A pointer to the TestAbortProc callback.

A pointer the the ProgressProc callback.

The signature of the host, provided by the host.

The signature for Photoshop is signature is 8BIM.

A pointer to a host-defined callback procedure.

May be NULL.

A pointer to the Buffer suite if it is supported by the host, otherwise NULL.

See Buffer Suite Callbacks (deprecated Standard Suite).

A pointer to the Pseudo-Resource suite if it is supported by the host, otherwise NULL.

See Resource Suite Callbacks.

A pointer to the ProcessEventProc callback if it is supported by the host, otherwise NULL.

A pointer to the DisplayPixelsProc callback if it is supported by the host, otherwise NULL.

A pointer to the Handle callback suite if it is supported by the host, otherwise NULL.

See Handle Suite Callbacks (deprecated Standard Suite).

A pointer to the ColorServices callback if it is supported by the host, otherwise NULL.

Suite of image processing callbacks.

Property callback suite.

The plug-in needs to dispose of the handle returned for complex properties. The plug-in also maintains ownership of handles for set properties.

Suite for passing pixels through channel ports.

An error reporting string to return to Photoshop.

If the plug-in returns with result=errReportString then this string is displayed as: "Cannot complete operation because " + errorString.

Monitor setup information for the host.

A pointer to platform specific data.

Not used under Mac OS. See PlatformData in PITypes.h.

Reserved for future use.

Set to zero.

Picker parameters used to pass the original color in to the plug-in suite, and the returned color back to the host.

SPBasicSuite* PIPickerParams::sSPBasic

PICA basic suite.

Provides the mechanism to access all PICA suites.

Plug-in reference used by PICA.

Reserved for future use.

Set to zero.


The documentation for this struct was generated from the following file: