Important: The information in this document is obsolete and should not be used for new development.
UncaptureComponent
TheUncaptureComponent
function allows your component to uncapture a previously captured component.
FUNCTION UncaptureComponent (aComponent: Component): OSErr;
aComponent
- The component identifier of the component to be uncaptured. Your component obtains this identifier from the
CaptureComponent
function.DESCRIPTION
TheUncaptureComponent
function restores the specified component to the search list of components. Applications can then access the component and retrieve information about the component using Component Manager routines.RESULT CODES
noErr 0 No error invalidComponentID -3000 No component has this component identifier componentNotCaptured -3002 This component has not been captured