@@ -4,16 +4,16 @@ ms.custom: ""
44ms.date : " 11/04/2016"
55ms.technology : ["cpp-data"]
66ms.topic : " reference"
7- f1_keywords : ["ATL::IDBCreateCommandImpl", "IDBCreateCommandImpl", "ATL.IDBCreateCommandImpl"]
7+ f1_keywords : ["ATL::IDBCreateCommandImpl", "IDBCreateCommandImpl", "ATL.IDBCreateCommandImpl", "IDBCreateCommandImpl.CreateCommand", "CreateCommand", "IDBCreateCommandImpl::CreateCommand" ]
88dev_langs : ["C++"]
9- helpviewer_keywords : ["IDBCreateCommandImpl class"]
9+ helpviewer_keywords : ["IDBCreateCommandImpl class", "CreateCommand method" ]
1010ms.assetid : eac4755e-1668-42e1-958e-a35620c385ae
1111author : " mikeblome"
1212ms.author : " mblome"
1313ms.workload : ["cplusplus", "data-storage"]
1414---
1515# IDBCreateCommandImpl Class
16- Provides an implementation of the [ IDBCreateCommand] ( https://msdn.microsoft.com/en-us/ library/ms711625.aspx ) interface.
16+ Provides an implementation of the [ IDBCreateCommand] ( https://msdn.microsoft.com/library/ms711625.aspx ) interface.
1717
1818## Syntax
1919
@@ -23,27 +23,47 @@ class ATL_NO_VTABLE IDBCreateCommandImpl
2323 : public IDBCreateCommand
2424```
2525
26- #### Parameters
27- `T`
26+ ### Parameters
27+ *T*
2828 The session object derived from `IDBCreateCommandImpl`.
2929
30- ` CommandClass`
30+ * CommandClass*
3131 Your command class.
32+
33+ ## Requirements
34+ **Header:** atldb.h
3235
3336## Members
3437
3538### Interface Methods
3639
3740|||
3841|-|-|
39- |[CreateCommand](../../data/oledb/idbcreatecommandimpl- createcommand.md )|Creates a new command.|
42+ |[CreateCommand](# createcommand)|Creates a new command.|
4043
4144## Remarks
4245 An optional interface on the session object to obtain a new command.
46+
47+ ## <a name="createcommand"></a> IDBCreateCommandImpl::CreateCommand
48+ Creates a new command and returns the requested interface.
4349
44- ## Requirements
45- **Header:** atldb.h
50+ ### Syntax
51+
52+ ```cpp
53+ STDMETHOD(CreateCommand)(IUnknown * pUnkOuter,
54+ REFIID riid,
55+ IUnknown ** ppvCommand);
56+ ```
57+
58+ #### Parameters
59+ See [ IDBCreateCommand::CreateCommand] ( https://msdn.microsoft.com/library/ms709772.aspx ) in the * OLE DB Programmer's Reference* .
60+
61+ Some parameters correspond to * OLE DB Programmer's Reference* parameters of different names, which are described in ` IDBCreateCommand::CreateCommand ` :
62+
63+ | OLE DB Template parameters| * OLE DB Programmer's Reference* parameters|
64+ | --------------------------------| ------------------------------------------------|
65+ | * ppvCommand* | * ppCommand* |
4666
4767## See Also
4868 [ OLE DB Provider Templates] ( ../../data/oledb/ole-db-provider-templates-cpp.md )
49- [OLE DB Provider Template Architecture](../../data/oledb/ole-db-provider-template-architecture.md)
69+ [ OLE DB Provider Template Architecture] ( ../../data/oledb/ole-db-provider-template-architecture.md )
0 commit comments