Share via


SndClose

4/8/2010

This function closes a sound handle.

Syntax

HRESULT SndClose (
   HSOUND hSound
);

Parameters

  • hSound
    [in] The sound handle to close.

    Note

    The sound handle was created using function SndOpen

Return Value

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

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