VRM_STOP

This message is sent by a parent window to a Voice Recorder control to stop recording or playback.

At a Glance

Header file: VoiceCtl.h
Windows CE versions: 2.01 and later

Syntax

VRM_STOP
wParam = 0;
lParam = 0;

Parameters

wParam
Not used; set to zero.
lParam
Not used; set to zero.

Return Values

This message returns a zero.

Remarks

The Voice Recorder control is loaded and initialized using the VoiceRecorder_Create function.

If the Voice Recorder control successfully stops recording or playback as a result of this message, the control sends a VRN_PLAY_STOP or VRN_RECORD_STOP message to the control's parent window using the NM_VOICE_RECORDER structure in a WM_NOFITY message.

After sending a VRM_RECORD message, wait at least 50 microseconds before sending a VRM_STOP message to ensure that the VRM_RECORD message arrives at the Voice Recorder control before the VRM_STOP message.

See Also

NM_VOICE_RECORDER, VoiceRecorder_Create, VRM_CANCEL, VRM_OK, VRM_PLAY, VRM_RECORD, WM_NOTIFY