Group: ODBC API - Library: odbc32
How to display a dialog box with which the user can add a data source (DSN)
BOOL SQLCreateDataSource(
HWND hwnd,
LPSTR lpszDS
);
DECLARE INTEGER SQLCreateDataSource IN odbccp32;
INTEGER hwnd,;
STRING lpszDS
hwnd [Input] Parent window handle.
lpszDS [Input] Data source name. lpszDS can be a null pointer or an empty string.
Returns TRUE if the data source is created.