CManualAccessor::CreateParameterAccessor
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 CManualAccessor::CreateParameterAccessor.
Allocates memory for the parameter bind structures and initializes the parameter data members.
Syntax
HRESULT CreateParameterAccessor(
int nBindEntries,
void* pBuffer,
DBLENGTH nBufferSize
) throw( );
Parameters
nBindEntries
[in] Number of columns.
pBuffer
[in] A pointer to the buffer where the input columns are stored.
nBufferSize
[in] The size of the buffer in bytes.
Return Value
One of the standard HRESULT
values.
Remarks
You must call this function before calling AddParameterEntry.
Requirements
Header: atldbcli.h
See Also
CManualAccessor Class
CManualAccessor::CreateAccessor
CManualAccessor::AddParameterEntry