Skip to content

Latest commit

 

History

History
76 lines (53 loc) · 2.14 KB

File metadata and controls

76 lines (53 loc) · 2.14 KB
title IDBCreateCommandImpl Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-data
ms.topic reference
f1_keywords
ATL::IDBCreateCommandImpl
IDBCreateCommandImpl
ATL.IDBCreateCommandImpl
IDBCreateCommandImpl.CreateCommand
CreateCommand
IDBCreateCommandImpl::CreateCommand
dev_langs
C++
helpviewer_keywords
IDBCreateCommandImpl class
CreateCommand method
ms.assetid eac4755e-1668-42e1-958e-a35620c385ae
author mikeblome
ms.author mblome
ms.workload
cplusplus
data-storage

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

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