![]() |
Adobe Photoshop SDK |
|
Writing Plug-insA plug-in host calls a plug-in module in response to a user action. Generally, executing a user command results in a series of calls from the plug-in host to the plug-in module. All calls from the host to the module are done through a single entry point, the #if MSWindows void ENTRYPOINT ( short selector, void* pluginParamBlock, long* pluginData, short* result); #else pascal void main ( short selector, Ptr pluginParamBlock, long* pluginData, short* result); #endif For further details about the arguments to the plug-in entry point, see Plug-in Entry Point. The sequence of calls from the host to the plug-in represent a series of actions requested by the host. Each of these actions is represented by a different |