[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1


IMBeep Callback Subroutine

Purpose

Tells the application program to emit a beep sound.

Syntax


int IMBeep( IM Percent UData)
IMObject IM;
int Percent;
caddr_t UData;

Description

The IMBeep subroutine tells the application program to emit a beep sound.

Parameters


IM Indicates the input method instance.
Percent Specifies the beep level. The value range is from -100 to 100, inclusively. A -100 value means no beep.
UData An argument passed by the IMCreate subroutine.

Return Values

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

Implementation Specifics

This subroutine is provided by applications that use input methods.

Related Information

The IMCreate (IMCreate Subroutine) subroutine.

Input Method Overview and National Language Support Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

Understanding Callbacks in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]