Descriptor Registry Suite

Used to pass descriptors between plug-ins or save parameters between invocations. More...

Data Structures

struct  PSDescriptorRegistryProcs
 The set of routines available in the Descriptor Registry Suite. More...

Defines

#define kPSDescriptorRegistrySuite   "61e608b0-40fd-11d1-8da3-00c04fd5f7ee"
 Unique identifier for the Descriptor Registry Suite.
#define kPSDescriptorRegistrySuiteVersion   1
 Current version of the Descriptor Registry Suite.

Typedefs

typedef struct
PSDescriptorRegistryProcs 
PSDescriptorRegistryProcs
 The set of routines available in the Descriptor Registry Suite.

Detailed Description

Used to pass descriptors between plug-ins or save parameters between invocations.

Descriptors must be created through the Action Descriptor Suite.

Accessing the Suite

The Descriptor Registry suite is referred to as:

  #define kPSDescriptorRegistrySuite    "61e608b0-40fd-11d1-8da3-00c04fd5f7ee"

with the version constant:

  #define   kPSDescriptorRegistrySuiteVersion   1

The suite is acquired as follows:

  PSDescriptorRegistryProcs *sPSDescriptorRegistry;
  error = sSPBasic->AcquireSuite(kPSDescriptorRegistrySuite,
                                 kPSDescriptorRegistrySuiteVersion,
                                 &sPSDescriptorRegistry);
  if (error) goto . . . //handle error

Or, alternatively, use the global variable sPSRegistry, by including the header file sampleCode\common\includes\PIUSuites.h.

For PICA errors, see SPErrorCodes.h.


Define Documentation

#define kPSDescriptorRegistrySuite   "61e608b0-40fd-11d1-8da3-00c04fd5f7ee"

Unique identifier for the Descriptor Registry Suite.

Current version of the Descriptor Registry Suite.


Typedef Documentation

The set of routines available in the Descriptor Registry Suite.