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 Applications / Getting Information About Components


ComponentFunctionImplemented

The ComponentFunctionImplemented function allows you to determine whether a component supports a specified request. Your application can use this function to determine a component's capabilities.

FUNCTION ComponentFunctionImplemented (ci: ComponentInstance; 
                                       ftnNumber: Integer)
                                       : LongInt; 
ci
A component instance that specifies the connection for this operation. Your application obtains the component instance from the OpenDefaultComponent or OpenComponent function.
ftnNumber
A request code value. For other components, see the documentation supplied with the component for request code values.
DESCRIPTION
The ComponentFunctionImplemented function returns a long integer indicating whether the component supports the specified request. You can interpret this long integer as if it were a Boolean value. If the returned value is TRUE, the component supports the specified request. If the returned value is FALSE, the component does
not support the request.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996