Hi all,
i have created plugin for photoshop using selection module.
DLLExport MACPASCAL void PluginMain (const int16 selector,
SelectionRecordPtr selectionParamBlock,
intptr_t *data,
int16 *result) {
try {
if (selector == selectionSelectorAbout)
{
sSPBasic = ((AboutRecordPtr)selectionParamBlock)->sSPBasic;
DoAbout((AboutRecordPtr)selectionParamBlock);
}
else
{
sSPBasic = selectionParamBlock->sSPBasic;
Ptr globalPtr = NULL; // Pointer for global structure
GPtr globals = NULL; // actual globals
globalPtr = AllocateGlobals (result,
selectionParamBlock,
sizeof(Globals),
data,
InitGlobals);
if (globalPtr == NULL)
{
*result = memFullErr;
return;
}
globals = (GPtr)globalPtr;
DoExecute(globals);
}
readDocumentDetails(selectionParamBlock);
executeFilter(selectionParamBlock);
return;
} // end try
catch(...)
{
if (NULL != result)
{
*result = -1;
}
}
} // end PluginMain
the above code is for the entry point of selection module. in that i want to get the details of
"FormatRecord Struct Reference" . Sinace i have created PlugIn using Selection module , im not able to get the details of FormatRecord module . is there anyway to get the details of FormatRecord Struct Reference . if yes please anyone kindly help me to get this.
Thank you