Begoguay,
Do manual de Fujitsu Cobol:
Código:
Alarm Method
Description:
Plays the wave file configured for the defined sound in the Windows system.
Used in controls: None.
Used in objects: Form
Parameters:
[VT_I4 - SoundType S9(9) COMP-5]
Description of Parameters:
Defines the sound to use. You can use the following constants to set the sound.
POW-MBOK: (Default) The default sound (Normal)
POW-MBASTERISK: The Asterisk sound (Information)
POW-MBQUESTION: The Question sound
POW-MBEXCLAMATION:The Exclamation sound (Warning)
POW-MBHAND: The Critical Stop sound
Return value:
VT_I4 - ReturnValue S9(9) COMP-5
Non-zero indicates normal completion.
Zero indicates an error.
Example:
Código COBOL:
* Play the exclamation sound for the current form
INVOKE POW-SELF "Alarm" USING POW-MBEXCLAMATION RETURNING ReturnValue
Espero que ajude.
Saludo,
RaPinto