SQLAllocEnv() - Allocate an environment handle
SQLAllocEnv() is a deprecated function
and is replaced by SQLAllocHandle().
ODBC specifications for SQLAllocEnv()
| ODBC specification level | In X/Open CLI CAE specification? | In ISO CLI specification? |
|---|---|---|
| 1.0 (Deprecated) | Yes | Yes |
Syntax
SQLRETURN SQLAllocEnv (SQLHENV FAR *phenv);Function arguments
The following table lists the data type, use, and description for each argument in this function.
| Data type | Argument | Use | Description |
|---|---|---|---|
| SQLHENV * | phenv | output | Points to the environment handle that you allocate. |