从属性集合获取属性。
OUT_OF_LINE HRESULT GetPropValue(
const GUID* pguidPropSet,
DBPROPID dwPropId,
VARIANT* pvValue
);
参数
pguidPropSet
[in] PropSet 的 GUID。dwPropId
[in] 属性索引。pvValue
[in] 将包含新属性值的变量的指针。
返回值
在失败和 S_OK 的Failure,如果成功。
要求
头文件: atldb.h