Partager via


BEGIN_PROVIDER_COLUMN_MAP

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at BEGIN_PROVIDER_COLUMN_MAP.

Marks the beginning of the provider column map entries.

Syntax

  
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

Macros for OLE DB Provider Templates
OLE DB Provider Templates
OLE DB Provider Template Architecture
Creating an OLE DB Provider