The IKsPropertySet::Get method retrieves the current value of a property. This method copies the value of the property to the buffer pointed to by pPropertyData.
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
The number of bytes in the structure pointed to by pPropertyParams.
pPropertyData
Pointer to buffer in which to store the value of the property.
cbPropertyData
The number of bytes in the structure pointed to by pPropertyData.
pcbReturnedData
The number of bytes returned in 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 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dsound.h.
Import Library: Use dsound.lib.