IMAuxDraw Callback Subroutine

Purpose

Tells the application program to draw the auxiliary area.

Syntax

int IMAuxDraw(IM, AuxiliaryID, AuxiliaryInformation, UData)
IMObject  IM;
caddr_t  AuxiliaryID;
IMAuxInfo * AuxiliaryInformation;
caddr_t  UData;

Description

The IMAuxDraw subroutine is invoked by the input method to draw an auxiliary area. The auxiliary area should have been previously created.

This subroutine is provided by applications that use input methods.

Parameters

Item Description
IM Indicates the input method instance.
AuxiliaryID Identifies the auxiliary area.
AuxiliaryInformation Points to the IMAuxInfo structure.
UData An argument passed by the IMCreate subroutine.

Return Values

If an error occurs, the IMAuxDraw subroutine returns the IMError global variable. Otherwise, the IMNoError value is returned.