Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 6 - Component Manager / Component Manager Reference
Routines for Components / Capturing Components


UncaptureComponent

The UncaptureComponent 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
The UncaptureComponent 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
noErr0No error
invalidComponentID-3000No component has this component identifier
componentNotCaptured-3002This component has not been captured

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996