PIBufferSuite.h File Reference

This file describes Photoshop's Buffer Suite for plug-ins. More...

#include "SPTypes.h"

Go to the source code of this file.

Data Structures

struct  PSBufferSuite1
 The set of routines available in Pica Buffer Suite Version 1. More...
struct  PSBufferSuite2
 The set of routines available in Pica Buffer Suite Version 1. More...

Defines

#define kPSBufferSuite   "Photoshop Buffer Suite for Plug-ins"
 Unique identifier for the Buffer Suite.
#define kPSBufferSuiteVersion1   1
 Current version of the buffer suite.
#define kPSBufferSuiteVersion2   2
 64 bit version of the buffer suite.
#define kPSBufferSuiteVersion   kPSBufferSuiteVersion2
 current version of the buffer suite.

Typedefs

typedef SPAPI Ptr(* BufferNewProc )(unsigned32 *pRequestedSize, unsigned32 minimumSize)
 Attempts to allocate the number of bytes specified with the variable pointed to by the pRequestedSize parameter.
typedef SPAPI Ptr(* BufferNewProc64 )(unsigned64 *pRequestedSize, unsigned64 minimumSize)
 Attempts to allocate the number of bytes specified with the variable pointed to by the pRequestedSize parameter.
typedef SPAPI void(* BufferDisposeProc )(Ptr *ppBuffer)
 Disposes of the buffer and sets the variable that refers to it to NULL.
typedef SPAPI unsigned32(* BufferGetSizeProc )(Ptr pBuffer)
 Gets the size of the buffer.
typedef SPAPI unsigned64(* BufferGetSizeProc64 )(Ptr pBuffer)
 Gets the size of the buffer.
typedef SPAPI unsigned32(* BufferGetSpaceProc )(void)
 Gets the amount of space available.
typedef SPAPI unsigned64(* BufferGetSpaceProc64 )(void)
 Gets the amount of space available.

Detailed Description

This file describes Photoshop's Buffer Suite for plug-ins.

Distribution: PUBLIC