SndStop

4/8/2010

This function stops playback of a sound.

Syntax

HRESULT SndStop (
  SND_SCOPE SoundScope,
  HSOUND hSound
);

Parameters

  • SoundScope
    [in] The type of sounds that should be stopped.
  • hSound
    Reserved for future use. Set to NULL.

Return Value

The function returns S_OK if successful, otherwise it returns a standard HRESULT error code.

Remarks

You should call function SndStop to terminate the asynchronous sounds on your process before your application exits.

Requirements

Header soundfile.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later, Windows Mobile 6 Standard and later

See Also

Concepts

Sounds Reference