Share via


VoiceRecorder_Create

Send Feedback

This function loads and initializes the Voice Recorder Control.

HWND VoiceRecorder_Create (
  LPCM_VOICE_RECORDER lpVR
);

Parameters

  • lpVR
    Long pointer to a CM_VOICE_RECORDER structure that represents the Voice Recorder Control.

Return Values

The handle to the new Voice Recorder window indicates success. NULL indicates failure.

Remarks

The Voice Recorder Control is implemented in VoiceCtl.dll and responds to messages from its owner application. Specifically, the owner window can access the recording process by using the following messages: VRM_RECORD, VRM_PLAY, VRM_STOP, VRM_CANCEL, and VRM_OK. In addition, the Voice Recorder Control can send notifications to its parent window using a NM_VOICE_RECORDER structure. This structure can contain the following messages: VRN_RECORD_START, VRN_RECORD_STOP, VRN_PLAY_START, VRN_PLAY_STOP, VRN_CANCEL, VRN_OK, and VRN_ERROR.

Requirements

Smartphone Platforms: Smartphone 2002 and later
Pocket PC Platforms: Pocket PC 2000 and later
OS Versions: Windows CE 3.0 and later
Header: voicectl.h
Library: voicectl.lib

See Also

NM_VOICE_RECORDER | CM_VOICE_RECORDER

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.