PROPERTY_INFO_ENTRY_EX

PROPERTY_INFO_ENTRY( dwPropID**,** vt**,** dwFlags**,** value**, options)**

Parameters

dwPropID

[in] A value that can be used in conjunction with the property set GUID to identify a property.

vt

[in] The of this property entry.

dwFlags

[in] A value describing this property entry.

value

[in] The property value of type DWORD.

Options

Either DBPROPOPTIONS_REQUIRED or DBPROPOPTIONS_SETIFCHEAP. Normally, a provider does not need to set Options since it is set by the consumer.

Remarks

Represents a specific property in a property set. With this macro, you can directly specify the property value of type DWORD as well as options and flags. To merely set a property to a default value defined in ATLDB.H, use for the property at the same time, use PROPERTY_INFO_ENTRY. To set a property to a value of your choice, without setting options or flags on it, use PROPERTY_INFO_ENTRY_VALUE

Macros for OLE DB Provider Templates

Example

See BEGIN_PROPSET_MAP.

See Also

Using the OLE DB Provider Templates, The OLE DB Provider Architecture, Creating an OLE DB Provider