winealsa: Remove AudioSessionManager.
[wine.git] / include / sqlucode.h
bloba4721b04208ab71019d85a3d85e73862c4cbd5ab
1 /*
2 * MS SQL Unicode Definitions
4 * Copyright (C) 2017 Daniel Lehman
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __SQLUCODE_H
22 #define __SQLUCODE_H
24 #include <sqlext.h>
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 #define SQL_WCHAR (-8)
31 #define SQL_C_WCHAR SQL_WCHAR
32 #define SQL_WVARCHAR (-9)
33 #define SQL_WLONGVARCHAR (-10)
35 SQLRETURN WINAPI SQLColAttributesW(SQLHSTMT hstmt, SQLUSMALLINT icol, SQLUSMALLINT fDescType,
36 SQLPOINTER rgbDesc, SQLSMALLINT cbDescMax, SQLSMALLINT *pcbDesc, SQLLEN *pfDesc);
38 SQLRETURN WINAPI SQLConnectW(SQLHDBC ConnectionHandle,
39 SQLWCHAR *ServerName, SQLSMALLINT NameLength1,
40 SQLWCHAR *UserName, SQLSMALLINT NameLength2,
41 SQLWCHAR *Authentication, SQLSMALLINT NameLength3);
43 SQLRETURN WINAPI SQLDescribeColW(SQLHSTMT StatementHandle,
44 SQLUSMALLINT ColumnNumber, SQLWCHAR *ColumnName,
45 SQLSMALLINT BufferLength, SQLSMALLINT *NameLength,
46 SQLSMALLINT *DataType, SQLULEN *ColumnSize,
47 SQLSMALLINT *DecimalDigits, SQLSMALLINT *Nullable);
49 SQLRETURN WINAPI SQLDriverConnectW(SQLHDBC ConnectionHandle,
50 SQLHWND WindowHandle, WCHAR *InConnectionString,
51 SQLSMALLINT Length, WCHAR *OutConnectionString, SQLSMALLINT BufferLength,
52 SQLSMALLINT *Length2, SQLUSMALLINT DriverCompletion);
54 SQLRETURN WINAPI SQLExecDirectW(SQLHSTMT StatementHandle,
55 SQLWCHAR *StatementText, SQLINTEGER TextLength);
57 SQLRETURN WINAPI SQLGetDiagRecW(SQLSMALLINT HandleType, SQLHANDLE Handle,
58 SQLSMALLINT RecNumber, SQLWCHAR *Sqlstate,
59 SQLINTEGER *NativeError, SQLWCHAR *MessageText,
60 SQLSMALLINT BufferLength, SQLSMALLINT *TextLength);
62 SQLRETURN WINAPI SQLGetInfoW(SQLHDBC ConnectionHandle,
63 SQLUSMALLINT InfoType, SQLPOINTER InfoValue,
64 SQLSMALLINT BufferLength, SQLSMALLINT *StringLength);
66 SQLRETURN WINAPI SQLPrepareW(SQLHSTMT StatementHandle,
67 SQLWCHAR *StatementText, SQLINTEGER TextLength);
69 SQLRETURN WINAPI SQLSetStmtAttrW(SQLHSTMT StatementHandle,
70 SQLINTEGER Attribute, SQLPOINTER Value,
71 SQLINTEGER StringLength);
73 SQLRETURN WINAPI SQLGetDiagFieldW(SQLSMALLINT type, SQLHANDLE handle,
74 SQLSMALLINT record, SQLSMALLINT field, SQLPOINTER info,
75 SQLSMALLINT info_len, SQLSMALLINT *ret_len);
77 #ifdef __cplusplus
79 #endif
81 #endif