VRM_PLAY

This message is sent from a parent window to a Voice Recorder control to begin playback.

At a Glance

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

Syntax

VRM_PLAY
wParam = 0;
lParam = lParam;

Parameters

wParam
Not used; set to zero.
lParam
Pointer to a null-terminated string that contains the name of a file to be played. If lParam points to NULL, the Voice Recorder control plays the recording that is currently loaded in the Voice Recorder control. If there is no current recording, the control returns ER_SUCCESS in the NM_VOICE_RECORDER structure in a WM_NOTIFY message.

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 begins playback as a result of this message, the control sends a VRN_PLAY_START message to the control's parent window using the NM_VOICE_RECORDER structure in a WM_NOFITY message.

See Also

NM_VOICE_RECORDER, VoiceRecorder_Create, VRM_CANCEL, VRM_OK, VRM_RECORD, VRM_STOP, WM_NOTIFY