次の方法で共有


DBPROPSET Structure

Consumers and providers use DBPROPSET structures to pass an array of DBPROP structures. The properties identified in a single DBPROPSET structure all belong to the same property set.

The DBPROPSET structure is defined as follows:

typedef struct tagDBPROPSET {
   DBPROP *   rgProperties;
   ULONG      cProperties;
   GUID       guidPropertySet;
} DBPROPSET;

The elements of this structure are described in the following table.

Element

Description

rgProperties

A pointer to an array of DBPROP structures. These structures contain property values. If cProperties is zero, this is ignored.

cProperties

The number of properties from the property set for which to set or get values. If cProperties is zero, the provider ignores rgProperties and does not set or get values for any properties in the set.

guidPropertySet

A GUID that identifies the property set to which the properties belong.