JMGetAppletName
Returns the name of an applet.
OSStatus JMGetAppletName ( JMAppletLocatorRef locatorRef, UInt32 appletIndex, char* buffer, UInt32 bufferLength);
locatorRef- The applet locator that contains the retrieved HTML text.
appletIndex- The index number of the applet you want to query.
buffer- A pointer to the applet name. On return, this parameter is the name of the applet.
bufferLength- The number of bytes in the buffer.
- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
TheappletIndexvalue is an index number from 0 toappletCount-1, whereappletCountis determined by theJMCountAppletsfunction. You must reserve a buffer for the applet's name and pass a pointer to the buffer when you callJMGetAppletName. You can call this function only after successfully retrieving HTML text using theJMNewAppletLocatorfunction.SEE ALSO
TheJMCountAppletsfunction (page 38).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help