home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Internet Business Development Kit / PRODUCT_CD.iso / sqlsvr / odbcsdk / samples / smpldrvr / options.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-07  |  834 b   |  53 lines

  1. /*
  2. ** OPTIONS.C - This is the ODBC sample driver code for
  3. ** executing Set/GetConnect/StmtOption.
  4. **
  5. **    This code is furnished on an as-is basis as part of the ODBC SDK and is
  6. **    intended for example purposes only.
  7. **
  8. */
  9.  
  10. //    -    -    -    -    -    -    -    -    -
  11.  
  12. #include "sample.h"
  13.  
  14. RETCODE SQL_API SQLSetConnectOption(
  15.     HDBC    hdbc,
  16.     UWORD    fOption,
  17.     UDWORD    vParam)
  18. {
  19.     return SQL_SUCCESS;
  20. }
  21.  
  22. //    -    -    -    -    -    -    -    -    -
  23.  
  24. RETCODE SQL_API SQLSetStmtOption(
  25.     HSTMT    hstmt,
  26.     UWORD    fOption,
  27.     UDWORD    vParam)
  28. {
  29.     return SQL_SUCCESS;
  30. }
  31.  
  32. //    -    -    -    -    -    -    -    -    -
  33.  
  34. RETCODE SQL_API SQLGetConnectOption(
  35.     HDBC    hdbc,
  36.     UWORD    fOption,
  37.     PTR     pvParam)
  38. {
  39.     return SQL_SUCCESS;
  40. }
  41.  
  42. //    -    -    -    -    -    -    -    -    -
  43.  
  44. RETCODE SQL_API SQLGetStmtOption(
  45.     HSTMT    hstmt,
  46.     UWORD    fOption,
  47.     PTR     pvParam)
  48. {
  49.     return SQL_SUCCESS;
  50. }
  51.  
  52. //    -    -    -    -    -    -    -    -    -
  53.