![]() |
Adobe Photoshop SDK |
|
Channel Ports Suite CallbacksChannel 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"
#define kPSChannelPortsSuiteVersion2 2 #define kPSChannelPortsSuiteVersion3 3 PSChannelPortsSuite1 *sPSChannelPorts; // Acquiring version 3. error = sSPBasic->AcquireSuite(kPSChannelPortsSuite, kPSChannelPortsSuiteVersion3, &sPSChannelPorts); if (error) goto . . . //handle error Define Documentation
Unique identifier for the Channel Ports Suite.
Channel Ports Suite version 2.
Channel Ports Suite version 3.
|