Share via


BEGIN_PROVIDER_COLUMN_MAP

Marks the beginning of the provider column map entries.

BEGIN_PROVIDER_COLUMN_MAP(theClass )

Parameters

  • theClass
    [in] The name of the class this map belongs to.

Example

Here is a sample provider column map:

BEGIN_PROVIDER_COLUMN_MAP(CMyProviderWindowsFile)
    PROVIDER_COLUMN_ENTRY("FileAttributes", 1, dwFileAttributes)
    PROVIDER_COLUMN_ENTRY("FileSizeHigh", 2, nFileSizeHigh)
    PROVIDER_COLUMN_ENTRY("FileSizeLow", 3, nFileSizeLow)
    PROVIDER_COLUMN_ENTRY_STR("FileName", 4, cFileName)
    PROVIDER_COLUMN_ENTRY_STR("AltFileName", 5, cAlternateFileName)
END_PROVIDER_COLUMN_MAP()

Requirements

Header: atldb.h

See Also

Reference

Creating an OLE DB Provider

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture

Other Resources

Macros for OLE DB Provider Templates