Crossware

Table of Contents        Previous topic       Next topic       

The Extension Interface->Capture State Specific Interface Calls->DuplicateState()

extern "C" LONG DuplicateState(LONG nExtensionState)

This is called when the user issues the Capture State command.  Typically the extension should create new instances of the items it needs to duplicate, copy all of the status information from the current instance into the duplicate instance and return a non-zero value associated with the new instance.  The 32 bit value returned is passed to the extension as the parameter 'nExtensionState' for all interface calls associated with this duplicated instance.