![]() |
Adobe Photoshop SDK |
|
Channel Ports Suite Callbacks Channel Ports are access points for reading and writing data from Photoshop internal channel data structures. More...
Detailed DescriptionChannel Ports are access points for reading and writing data from Photoshop internal channel data structures. There are two types of ports: read ports and write ports. You can retrieve a read port corresponding to a write port, but you cannot retrieve a write port from a read port. The API does allow for write-only ports, although none exist as of this version of the suite. Accessing the Suite #define kPSChannelPortsSuite "Photoshop ChannelPorts Suite for Plug-ins"
There are two version constants available: #define kPSChannelPortsSuiteVersion2 2 #define kPSChannelPortsSuiteVersion3 3 The suite is acquired as follows: PSChannelPortsSuite1 *sPSChannelPorts; // Acquiring version 3. error = sSPBasic->AcquireSuite(kPSChannelPortsSuite, kPSChannelPortsSuiteVersion3, &sPSChannelPorts); if (error) goto . . . //handle error For PICA errors, see SPErrorCodes.h. Define Documentation
Unique identifier for the Channel Ports Suite.
Channel Ports Suite version 2.
Channel Ports Suite version 3. Typedef Documentation
The set of routines available in the Channel Ports Suite. |