CDataSource::GetProperty

HRESULT GetProperty( const GUID& guid, DWORD dwID, VARIANT* pVariant );

Return Value

A standard HRESULT.

Parameters

guid

[in] A GUID identifying the property set for which to return the property.

dwID

[in] Property ID for the property to return.

pVariant

[out] A pointer to the variant where GetProperty returns the value of the property.

Remarks

Returns the value of a specified property. To get multiple properties, use GetProperties.

CDataSource OverviewClass Members