00001 #if 0
00002 # define FUNC NAME(SQLTest) (P(SQLSMALLINT, x), PCHAR(y) WIDE)
00003 #endif
00004
00005 #undef NAME
00006 #undef WIDE
00007 #undef P
00008 #undef PCHAR
00009 #undef PCHARIN
00010 #undef PCHAROUT
00011
00012 #ifdef ENABLE_ODBC_WIDE
00013 # define WIDE , int wide
00014 # define PCHAR(a) ODBC_CHAR* a
00015 #else
00016 # define WIDE
00017 # define PCHAR(a) SQLCHAR* a
00018 #endif
00019
00020 #define NAME(a) _ ## a
00021 #define P(a,b) a b
00022 #define PCHARIN(n,t) PCHAR(sz ## n), P(t, cb ## n)
00023 #define PCHAROUT(n,t) PCHAR(sz ## n), P(t, cb ## n ## Max), P(t FAR*, pcb ## n)
00024 static SQLRETURN FUNC
00025
00026 #undef FUNC
00027