| 1 | /************************************************** |
| 2 | * SQLGetAvailableDrivers |
| 3 | * |
| 4 | ************************************************** |
| 5 | * This code was created by Peter Harvey @ CodeByDesign. |
| 6 | * Released under LGPL 28.JAN.99 |
| 7 | * |
| 8 | * Contributions from... |
| 9 | * ----------------------------------------------- |
| 10 | * Peter Harvey - pharvey@codebydesign.com |
| 11 | **************************************************/ |
| 12 | #include <config.h> |
| 13 | #include <odbcinstext.h> |
| 14 | |
| 15 | BOOL SQLGetAvailableDrivers( LPCSTR pszInfFile, |
| 16 | LPSTR pszBuf, |
| 17 | WORD nBufMax, |
| 18 | WORD *pnBufOut) |
| 19 | { |
| 20 | return SQLGetInstalledDrivers( pszBuf, nBufMax, pnBufOut ); |
| 21 | } |
| 22 | |
| 23 | BOOL INSTAPI SQLGetAvailableDriversW (LPCWSTR lpszInfFile, |
| 24 | LPWSTR lpszBuf, |
| 25 | WORD cbBufMax, |
| 26 | WORD * pcbBufOut) |
| 27 | { |
| 28 | return SQLGetInstalledDriversW( lpszBuf, cbBufMax, pcbBufOut ); |
| 29 | } |
| 30 | |