Macros for OLE DB Provider Templates
The OLE DB Templates Provider macros offer functionality in the following categories:
Property Set Map Macros
BEGIN_PROPERTY_SET | Marks the beginning of a property set. |
BEGIN_PROPERTY_SET_EX | Marks the beginning of a property set. |
BEGIN_PROPSET_MAP | Marks the beginning of a property set that can be hidden or defined outside the scope of the provider. |
CHAIN_PROPERTY_SET | Chains property groups together. |
END_PROPERTY_SET | Marks the end of a property set. |
END_PROPSET_MAP | Marks the end of a property set map. |
PROPERTY_INFO_ENTRY | Sets a specific property in a property set to a default value. |
PROPERTY_INFO_ENTRY_EX | Sets a specific property in a property set to a value supplied by you. Also enables you to set flags and options. |
PROPERTY_INFO_ENTRY_VALUE | Sets a specific property in a property set to a value supplied by you. |
Column Map Macros
BEGIN_PROVIDER_COLUMN_MAP | Marks the beginning of the provider column map entries. |
END_PROVIDER_COLUMN_MAP | Marks the end of the provider column map entries. |
PROVIDER_COLUMN_ENTRY | Represents a specific column supported by the provider. |
PROVIDER_COLUMN_ENTRY_FIXED | Represents a specific column supported by the provider. Allows you to specify the column data type. |
PROVIDER_COLUMN_ENTRY_LENGTH | Represents a specific column supported by the provider. Allows you to specify the column size. |
PROVIDER_COLUMN_ENTRY_STR | Represents a specific column supported by the provider. It assumes the column type is a string. |
PROVIDER_COLUMN_ENTRY_WSTR | Represents a specific column supported by the provider. It assumes the column type is a Unicode character string. |
Schema Rowset Macros
BEGIN_SCHEMA_MAP | Marks the beginning of a SCHEMA Map. |
SCHEMA_ENTRY | Marks the beginning of the property set map. |
END_SCHEMA_MAP | Marks the end of a SCHEMA Map. |
See Also
Using the OLE DB Provider Templates, The OLE DB Provider Architecture, Creating an OLE DB Provider