Sample Provider Files

The following source files are included with the sample provider.

The source files are located in the <install directory>\SDK\SAMPLES\OLEDB\SAMPPROV directory.

File name

Description

ACCESSOR.cpp

CImpIAccessor object implementation.

ASSERTS.cpp

Simple assertion routines.

ASSERTS.h

Simple assertion routine header file.

BITARRAY.cpp

An implementation of a bit array class used by the internal buffer to mark released or unreleased rows.

BITARRAY.h

Class definitions for the bit array class.

CLASSFAC.cpp

DLL entry and exit points and the OLE ClassFactory class.

CLASSFAC.h

Class definitions for CClassFactory and DLL entry points.

COLINFO.cpp

IColumnsInfo interface implementation.

CRTSESS.cpp

IDBCreateSession interface implementation.

CVTTYPE.cpp

IConvertType interface implementation.

DATASRC.cpp

CDataSource object implementation.

DATASRC.h

CDataSource base object and contained interface definitions.

DBINIT.cpp

IDBInitialize interface implementation.

DBPROP.cpp

IDBProperties and IDBInfo interface implementations.

DBSESS.cpp

CDBSession object implementation.

DBSESS.h

CDBSession base object and contained interface definitions.

EXTBUFF.cpp

The class that provides array-based access to a big block of memory.

EXTBUFF.h

Class definitions for CExtBuffer class.

FILEIDX.cpp

The index array code for a comma-separated value (.csv) provider.

FILEIDX.h

Class definitions for CFileIO class.

FILEIO.cpp

The file manipulation code for a comma-separated value (.csv) provider.

FILEIO.h

Class definitions for CFileIO class.

GLOBALS.cpp

Global initialization object.

GUIDS.h

Internal GUIDs.

HASHTBL.cpp

Hashing routines for row manipulation.

HASHTBL.h

Class definitions for CHashTbl class and miscellaneous bookmark functions.

HEADERS.cpp

Precompiled headers module.

HEADERS.h

Precompiled headers.

IROWSET.cpp

IRowset interface implementation.

LOCAL.RC

Localizable resource.

OPNROWST.cpp

IOpenRowset interface implementation.

PERSIST.cpp

IPersist interface implementation.

RC.h

Resource IDs.

ROWCHNG.cpp

IRowsetChange interface implementation.

ROWINFO.cpp

IRowsetInfo interface implementation.

ROWSET.cpp

CRowset object implementation.

ROWSET.h

CRowset base object and contained interface definitions.

SAMPPROV.DEF

Project definitions.

SAMPPROV.h

Main include file.

SAMPPROV.MAK

Sample Provider NMAKE File.

SAMPPROV.DSP

Project file for the Sample Provider.

SAMPPROV.RC

Main resource file.

SAMPVER.h

Version include file.

UTILPROP.cpp

Properties utility object implementation.

UTILPROP.h

CUtilProp object definitions.

See Also

Tasks

OLE DB sample provider