SQLAllocConnect

[DllImport("odbc32.dll", SetLastError = true)]
public static extern int SQLAllocConnect(
   IntPtr hEnv,
   out IntPtr phdbc
);

Microsoft documentation: Link

Last updated