Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 758 Bytes

File metadata and controls

28 lines (24 loc) · 758 Bytes
title SQLAllocStmt Mapping
description SQLAllocStmt Mapping
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, sunilbs, mcimfl
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
helpviewer_keywords
mapping deprecated functions [ODBC], SQLAllocStmt
SQLAllocStmt function [ODBC], mapping

SQLAllocStmt Mapping

When an application calls SQLAllocStmt through an ODBC 3.x driver, the call to:

SQLAllocStmt(hdbc, phstmt)  

is mapped to SQLAllocHandle by the Driver Manager in the driver as follows:

SQLAllocHandle(SQL_HANDLE_STMT, InputHandle, OutputHandlePtr)  

with InputHandle set to hdbc and OutputHandlePtr set to phstmt.