IKsPropertySet::Set

The IKsPropertySet::Set method sets the current value of a property to the value stored in the buffer pointed to by pPropertyData.

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

Parameters

PropertySetId
The property set.
PropertyId
The 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.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in dsound.h.
  Import Library: Use dsound.lib.