IKsPropertySet::Set

This method sets the current value of a property to the value stored in the buffer that pPropertyData points to.

HRESULT Set(
  REFGUID PropertySetId, 
  ULONG PropertyId, 
  PVOID pPropertyParams, 
  ULONG cbPropertyParams, 
  PVOID pPropertyData, 
  ULONG cbPropertyData 
);

Parameters

  • PropertySetId
    Property set.
  • PropertyId
    Property within the property set.
  • pPropertyParams
    Pointer to instance parameters for the property.
  • cbPropertyParams
    Size of the structure pointed to by pPropertyParams.
  • pPropertyData
    Address of a buffer containing the value to which to set the property.
  • cbPropertyData
    Size of the structure pointed to by pPropertyData.

Return Values

Return values are determined by the designer of the property set.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dsound.h.
Link Library: Dsound.lib.

See Also

IKsPropertySet

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.