PIAcquire.h File Reference

This file describes Photoshop's Acquisition/Import module interface. More...

#include "PIActions.h"
#include "PIGeneral.h"
#include "SPBasic.h"

Go to the source code of this file.

Data Structures

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

Defines

Import Module Selectors
#define acquireSelectorAbout   0
 Allows the plug-in to display an about box for the Import Module.
#define acquireSelectorStart   1
 Allows the plug-in to indicate to the host the mode, size and resolution of the image being returned, so it can allocate and initialize its data structures.
#define acquireSelectorContinue   2
 Returns an area of the image to the plug-in host.
#define acquireSelectorFinish   3
 Allows the plug-in to clean up after an image import.
#define acquireSelectorPrepare   4
 Allows a plug-in module to adjust the Photoshop memory allocation algorithm.
#define acquireSelectorFinalize   5
 Allows the plug-in to do any final cleanup, and is typically used in the case where a plug-in module is acquiring multiple images during a single invocation.
Import Error Return Values
#define acquireBadParameters   -30000
 An error with the interface.
#define acquireNoScanner   -30001
 No scanner installed.
#define acquireScannerProblem   -30002
 A problem with the scanner.

Typedefs

typedef struct AcquireRecord AcquireRecord
 This structure is passed to the plug-in module through the parameter block.
typedef struct AcquireRecordAcquireRecordPtr

Detailed Description

This file describes Photoshop's Acquisition/Import module interface.

Distribution: PUBLIC