InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAGMImageRecordData Class Referenceabstract

#include <IAGMImageRecordData.h>

Inheritance diagram for IAGMImageRecordData:
IPMUnknown

Public Member Functions

virtual ErrorCode Set (const _t_AGMImageRecord &agmImageRecord)=0
 
virtual void Get (_t_AGMImageRecord *agmImageRecord) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Simple data interface for storing an AGMImageRecord.

Member Function Documentation

virtual void IAGMImageRecordData::Get (_t_AGMImageRecordagmImageRecord) const
pure virtual

Retrieves the stored AGMImageRecord. This interface owns the pointer that base addr points to. The caller must not delete the pointer. Further, the caller must guarantee this interface is instantiated during the use of the AGMImageRecord.

Parameters
agmImageRecordOUT Pointer to storage for the image record to retrieve
virtual ErrorCode IAGMImageRecordData::Set (const _t_AGMImageRecordagmImageRecord)
pure virtual

Sets the image record. This interface makes a copy of the image record data. The caller is still responsible for destroying the data pointed to by base addr. If not enough memory then Set will return an error.

Parameters
agmImageRecordIN The image record to store
Returns
kSuccess if successful, else an error code