IBrowser2::put_PlaySounds (Windows CE 5.0)

Send Feedback

The PlaySounds property gets or sets a Boolean value indicating that sounds are enabled or disabled for Web pages.

To set the value of the PlaySounds property, call the property method described here.

To get the value of the PlaySounds property, see the get_PlaySounds property method.

Syntax

HRESULT put_PlaySounds(  VARIANT_BOOL bPlaySounds);

Parameters

  • bPlaySounds
    [in] Boolean value; VARIANT_TRUE if sounds are enabled and VARIANT_FALSE if sounds are disabled.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib

See Also

IBrowser2

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.