IKsPropertySet::Get

This method retrieves the current value of a property.

HRESULT Get(
  REFGUID PropertySetId, 
  ULONG PropertyId, 
  PVOID pPropertyParams, 
  ULONG cbPropertyParams,  
  PVOID pPropertyData, 
  ULONG cbPropertyData, 
  PULONG pcbReturnedData  
);

Parameters

  • PropertySetId
    Identifier of the property set.
  • PropertyId
    Identifier of the property within the property set.
  • pPropertyParams
    Pointer to instance parameters for the property.
  • cbPropertyParams
    Number of bytes in the structure pointed to by pPropertyParams.
  • pPropertyData
    Pointer to buffer in which to store the value of the property.
  • cbPropertyData
    Number of bytes in the structure pointed to by pPropertyData.
  • pcbReturnedData
    Number of bytes returned in the structure pointed to by pPropertyData.

Return Values

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

Remarks

This method copies the value of the property to the buffer pointed to by pPropertyData.

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.