Share via


IDBCreateCommandImpl::CreateCommand

 

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 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

Requirements

Header: atldb.h

See Also

IDBCreateCommandImpl Class