httpapi: Add stub for HttpReceiveRequestEntityBody.
[wine/zf.git] / include / sqlucode.h
blobc87348cd8b526c85f3d6f669d4d9837e0a0846f5
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 SQLRETURN WINAPI SQLConnectW(SQLHDBC ConnectionHandle,
31 SQLWCHAR *ServerName, SQLSMALLINT NameLength1,
32 SQLWCHAR *UserName, SQLSMALLINT NameLength2,
33 SQLWCHAR *Authentication, SQLSMALLINT NameLength3);
35 SQLRETURN WINAPI SQLDescribeColW(SQLHSTMT StatementHandle,
36 SQLUSMALLINT ColumnNumber, SQLWCHAR *ColumnName,
37 SQLSMALLINT BufferLength, SQLSMALLINT *NameLength,
38 SQLSMALLINT *DataType, SQLULEN *ColumnSize,
39 SQLSMALLINT *DecimalDigits, SQLSMALLINT *Nullable);
41 SQLRETURN WINAPI SQLExecDirectW(SQLHSTMT StatementHandle,
42 SQLWCHAR *StatementText, SQLINTEGER TextLength);
44 SQLRETURN WINAPI SQLGetDiagRecW(SQLSMALLINT HandleType, SQLHANDLE Handle,
45 SQLSMALLINT RecNumber, SQLWCHAR *Sqlstate,
46 SQLINTEGER *NativeError, SQLWCHAR *MessageText,
47 SQLSMALLINT BufferLength, SQLSMALLINT *TextLength);
49 SQLRETURN WINAPI SQLGetInfoW(SQLHDBC ConnectionHandle,
50 SQLUSMALLINT InfoType, SQLPOINTER InfoValue,
51 SQLSMALLINT BufferLength, SQLSMALLINT *StringLength);
53 SQLRETURN WINAPI SQLPrepareW(SQLHSTMT StatementHandle,
54 SQLWCHAR *StatementText, SQLINTEGER TextLength);
56 SQLRETURN WINAPI SQLSetStmtAttrW(SQLHSTMT StatementHandle,
57 SQLINTEGER Attribute, SQLPOINTER Value,
58 SQLINTEGER StringLength);
60 #ifdef __cplusplus
62 #endif
64 #endif