JMNewAWTContext
Creates an AWT context.
OSStatus JMNewAWTContext ( JMAWTContextRef* context, JMSessionRef session, const JMAWTContextCallbacks* callbacks, JMClientData data);
context- A pointer to the AWT context. On return this parameter is the new AWT context.
session- The session in which you want to create the AWT context.
callbacks- A pointer to the context's callbacks. See "AWT Context Callbacks Structure" (page 13) for more information.
data- Any optional client-specific data.
- 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
The new AWT context is in a suspended state, so you must callJMResumeAWTContextto start its thread.SEE ALSO
TheJMDisposeAWTContextfunction (page 28).