Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.95 KB

idbcreatecommandimpl-class.md

File metadata and controls

70 lines (47 loc) · 1.95 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: IDBCreateCommandImpl Class
IDBCreateCommandImpl Class
11/04/2016
ATL::IDBCreateCommandImpl
IDBCreateCommandImpl
ATL.IDBCreateCommandImpl
IDBCreateCommandImpl.CreateCommand
IDBCreateCommandImpl::CreateCommand
IDBCreateCommandImpl class
CreateCommand method
eac4755e-1668-42e1-958e-a35620c385ae

IDBCreateCommandImpl Class

Provides an implementation of the IDBCreateCommand interface.

Syntax

template <class T, class CommandClass >
class ATL_NO_VTABLE IDBCreateCommandImpl
   : public IDBCreateCommand

Parameters

T
The session object derived from IDBCreateCommandImpl.

CommandClass
Your command class.

Requirements

Header: atldb.h

Members

Interface Methods

Name Description
CreateCommand Creates a new command.

Remarks

An optional interface on the session object to obtain a new command.

IDBCreateCommandImpl::CreateCommand

Creates a new command and returns the requested interface.

Syntax

STDMETHOD(CreateCommand)(IUnknown * pUnkOuter,
   REFIID riid,
   IUnknown ** ppvCommand);

Parameters

See IDBCreateCommand::CreateCommand in the OLE DB Programmer's Reference.

Some parameters correspond to OLE DB Programmer's Reference parameters of different names, which are described in IDBCreateCommand::CreateCommand:

OLE DB Template parameters OLE DB Programmer's Reference parameters
ppvCommand ppCommand

See also

OLE DB Provider Templates
OLE DB Provider Template Architecture