Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7980a50c
Commit
7980a50c
authored
Jun 07, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jun 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issues found by winapi_check.
parent
d18837b7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
113 additions
and
86 deletions
+113
-86
proxyodbc.c
dlls/odbc32/proxyodbc.c
+78
-81
moniker.c
dlls/ole32/moniker.c
+1
-1
shellstring.c
dlls/shell32/shellstring.c
+2
-2
umon.c
dlls/urlmon/umon.c
+1
-1
urlmon.h
include/urlmon.h
+1
-1
critsection.c
scheduler/critsection.c
+30
-0
No files found.
dlls/odbc32/proxyodbc.c
View file @
7980a50c
...
...
@@ -29,9 +29,6 @@ typedef char* GUID; /* This definition is in sqltypes.h, but if _WINDOWS is d
#include "proxyodbc.h"
/*#define SQLRETURNTYPE SQLRETURN SQL_API*/
#define SQLRETURNTYPE SQLRETURN WINAPI
DEFAULT_DEBUG_CHANNEL
(
odbc
);
static
DM_FUNC
template_func
[]
=
...
...
@@ -250,7 +247,7 @@ BOOL ODBC_LoadDMFunctions()
/*************************************************************************
* SQLAllocConnect [ODBC32.001]
*/
SQLRETURN
TYPE
SQLAllocConnect
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
*
ConnectionHandle
)
SQLRETURN
WINAPI
SQLAllocConnect
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
*
ConnectionHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -268,7 +265,7 @@ SQLRETURNTYPE SQLAllocConnect(SQLHENV EnvironmentHandle, SQLHDBC *ConnectionHan
/*************************************************************************
* SQLAllocEnv [ODBC32.002]
*/
SQLRETURN
TYPE
SQLAllocEnv
(
SQLHENV
*
EnvironmentHandle
)
SQLRETURN
WINAPI
SQLAllocEnv
(
SQLHENV
*
EnvironmentHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -285,7 +282,7 @@ SQLRETURNTYPE SQLAllocEnv(SQLHENV *EnvironmentHandle)
/*************************************************************************
* SQLAllocHandle [ODBC32.024]
*/
SQLRETURN
TYPE
SQLAllocHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
SQLRETURN
WINAPI
SQLAllocHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
{
TRACE
(
".
\n
"
);
...
...
@@ -314,7 +311,7 @@ SQLRETURNTYPE SQLAllocHandle(SQLSMALLINT HandleType, SQLHANDLE InputHandle, SQL
/*************************************************************************
* SQLAllocStmt [ODBC32.003]
*/
SQLRETURN
TYPE
SQLAllocStmt
(
SQLHDBC
ConnectionHandle
,
SQLHSTMT
*
StatementHandle
)
SQLRETURN
WINAPI
SQLAllocStmt
(
SQLHDBC
ConnectionHandle
,
SQLHSTMT
*
StatementHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -333,7 +330,7 @@ SQLRETURNTYPE SQLAllocStmt(SQLHDBC ConnectionHandle, SQLHSTMT *StatementHandle)
/*************************************************************************
* SQLAllocHandleStd [ODBC32.077]
*/
SQLRETURN
TYPE
SQLAllocHandleStd
(
SQLSMALLINT
HandleType
,
SQLRETURN
WINAPI
SQLAllocHandleStd
(
SQLSMALLINT
HandleType
,
SQLHANDLE
InputHandle
,
SQLHANDLE
*
OutputHandle
)
{
TRACE
(
"ProxyODBC: SQLAllocHandelStd.
\n
"
);
...
...
@@ -363,7 +360,7 @@ SQLRETURNTYPE SQLAllocHandleStd( SQLSMALLINT HandleType,
/*************************************************************************
* SQLBindCol [ODBC32.004]
*/
SQLRETURN
TYPE
SQLBindCol
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLBindCol
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLSMALLINT
TargetType
,
SQLPOINTER
TargetValue
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StrLen_or_Ind
)
...
...
@@ -384,7 +381,7 @@ SQLRETURNTYPE SQLBindCol(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLBindParam [ODBC32.025]
*/
SQLRETURN
TYPE
SQLBindParam
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLBindParam
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ParameterNumber
,
SQLSMALLINT
ValueType
,
SQLSMALLINT
ParameterType
,
SQLUINTEGER
LengthPrecision
,
SQLSMALLINT
ParameterScale
,
SQLPOINTER
ParameterValue
,
...
...
@@ -406,7 +403,7 @@ SQLRETURNTYPE SQLBindParam(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLCancel [ODBC32.005]
*/
SQLRETURN
TYPE
SQLCancel
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLCancel
(
SQLHSTMT
StatementHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -422,7 +419,7 @@ SQLRETURNTYPE SQLCancel(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLCloseCursor [ODBC32.026]
*/
SQLRETURN
TYPE
SQLCloseCursor
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLCloseCursor
(
SQLHSTMT
StatementHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -438,7 +435,7 @@ SQLRETURNTYPE SQLCloseCursor(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLColAttribute [ODBC32.027]
*/
SQLRETURN
TYPE
SQLColAttribute
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLColAttribute
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLUSMALLINT
FieldIdentifier
,
SQLPOINTER
CharacterAttribute
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
,
SQLPOINTER
NumericAttribute
)
...
...
@@ -459,7 +456,7 @@ SQLRETURNTYPE SQLColAttribute (SQLHSTMT StatementHandle,
/*************************************************************************
* SQLColumns [ODBC32.040]
*/
SQLRETURN
TYPE
SQLColumns
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLColumns
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
...
...
@@ -481,7 +478,7 @@ SQLRETURNTYPE SQLColumns(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLConnect [ODBC32.007]
*/
SQLRETURN
TYPE
SQLConnect
(
SQLHDBC
ConnectionHandle
,
SQLRETURN
WINAPI
SQLConnect
(
SQLHDBC
ConnectionHandle
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
UserName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
Authentication
,
SQLSMALLINT
NameLength3
)
...
...
@@ -505,7 +502,7 @@ SQLRETURNTYPE SQLConnect(SQLHDBC ConnectionHandle,
/*************************************************************************
* SQLCopyDesc [ODBC32.028]
*/
SQLRETURN
TYPE
SQLCopyDesc
(
SQLHDESC
SourceDescHandle
,
SQLHDESC
TargetDescHandle
)
SQLRETURN
WINAPI
SQLCopyDesc
(
SQLHDESC
SourceDescHandle
,
SQLHDESC
TargetDescHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -522,7 +519,7 @@ SQLRETURNTYPE SQLCopyDesc(SQLHDESC SourceDescHandle, SQLHDESC TargetDescHandle)
/*************************************************************************
* SQLDataSources [ODBC32.057]
*/
SQLRETURN
TYPE
SQLDataSources
(
SQLHENV
EnvironmentHandle
,
SQLRETURN
WINAPI
SQLDataSources
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
BufferLength1
,
SQLSMALLINT
*
NameLength1
,
SQLCHAR
*
Description
,
SQLSMALLINT
BufferLength2
,
...
...
@@ -558,7 +555,7 @@ SQLRETURNTYPE SQLDataSources(SQLHENV EnvironmentHandle,
/*************************************************************************
* SQLDescribeCol [ODBC32.008]
*/
SQLRETURN
TYPE
SQLDescribeCol
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLDescribeCol
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLCHAR
*
ColumnName
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
NameLength
,
SQLSMALLINT
*
DataType
,
SQLUINTEGER
*
ColumnSize
,
...
...
@@ -580,7 +577,7 @@ SQLRETURNTYPE SQLDescribeCol(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLDisconnect [ODBC32.009]
*/
SQLRETURN
TYPE
SQLDisconnect
(
SQLHDBC
ConnectionHandle
)
SQLRETURN
WINAPI
SQLDisconnect
(
SQLHDBC
ConnectionHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -599,7 +596,7 @@ SQLRETURNTYPE SQLDisconnect(SQLHDBC ConnectionHandle)
/*************************************************************************
* SQLEndTran [ODBC32.029]
*/
SQLRETURN
TYPE
SQLEndTran
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
CompletionType
)
SQLRETURN
WINAPI
SQLEndTran
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
CompletionType
)
{
TRACE
(
"
\n
"
);
...
...
@@ -615,7 +612,7 @@ SQLRETURNTYPE SQLEndTran(SQLSMALLINT HandleType, SQLHANDLE Handle, SQLSMALLINT
/*************************************************************************
* SQLError [ODBC32.010]
*/
SQLRETURN
TYPE
SQLError
(
SQLHENV
EnvironmentHandle
,
SQLRETURN
WINAPI
SQLError
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLHSTMT
StatementHandle
,
SQLCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
SQLCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
...
...
@@ -637,7 +634,7 @@ SQLRETURNTYPE SQLError(SQLHENV EnvironmentHandle,
/*************************************************************************
* SQLExecDirect [ODBC32.011]
*/
SQLRETURN
TYPE
SQLExecDirect
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
SQLRETURN
WINAPI
SQLExecDirect
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
{
TRACE
(
"
\n
"
);
...
...
@@ -654,7 +651,7 @@ SQLRETURNTYPE SQLExecDirect(SQLHSTMT StatementHandle, SQLCHAR *StatementText, S
/*************************************************************************
* SQLExecute [ODBC32.012]
*/
SQLRETURN
TYPE
SQLExecute
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLExecute
(
SQLHSTMT
StatementHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -670,7 +667,7 @@ SQLRETURNTYPE SQLExecute(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLFetch [ODBC32.013]
*/
SQLRETURN
TYPE
SQLFetch
(
SQLHSTMT
StatementHandle
)
SQLRETURN
WINAPI
SQLFetch
(
SQLHSTMT
StatementHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -686,7 +683,7 @@ SQLRETURNTYPE SQLFetch(SQLHSTMT StatementHandle)
/*************************************************************************
* SQLFetchScroll [ODBC32.030]
*/
SQLRETURN
TYPE
SQLFetchScroll
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
FetchOrientation
,
SQLINTEGER
FetchOffset
)
SQLRETURN
WINAPI
SQLFetchScroll
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
FetchOrientation
,
SQLINTEGER
FetchOffset
)
{
TRACE
(
"
\n
"
);
...
...
@@ -703,7 +700,7 @@ SQLRETURNTYPE SQLFetchScroll(SQLHSTMT StatementHandle, SQLSMALLINT FetchOrientat
/*************************************************************************
* SQLFreeConnect [ODBC32.014]
*/
SQLRETURN
TYPE
SQLFreeConnect
(
SQLHDBC
ConnectionHandle
)
SQLRETURN
WINAPI
SQLFreeConnect
(
SQLHDBC
ConnectionHandle
)
{
TRACE
(
"
\n
"
);
...
...
@@ -719,7 +716,7 @@ SQLRETURNTYPE SQLFreeConnect(SQLHDBC ConnectionHandle)
/*************************************************************************
* SQLFreeEnv [ODBC32.015]
*/
SQLRETURN
TYPE
SQLFreeEnv
(
SQLHENV
EnvironmentHandle
)
SQLRETURN
WINAPI
SQLFreeEnv
(
SQLHENV
EnvironmentHandle
)
{
SQLRETURN
ret
;
...
...
@@ -746,7 +743,7 @@ SQLRETURNTYPE SQLFreeEnv(SQLHENV EnvironmentHandle)
/*************************************************************************
* SQLFreeHandle [ODBC32.031]
*/
SQLRETURN
TYPE
SQLFreeHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
)
SQLRETURN
WINAPI
SQLFreeHandle
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
)
{
SQLRETURN
ret
;
...
...
@@ -776,7 +773,7 @@ SQLRETURNTYPE SQLFreeHandle(SQLSMALLINT HandleType, SQLHANDLE Handle)
/*************************************************************************
* SQLFreeStmt [ODBC32.016]
*/
SQLRETURN
TYPE
SQLFreeStmt
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
)
SQLRETURN
WINAPI
SQLFreeStmt
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
)
{
TRACE
(
"
\n
"
);
...
...
@@ -794,7 +791,7 @@ SQLRETURNTYPE SQLFreeStmt(SQLHSTMT StatementHandle, SQLUSMALLINT Option)
/*************************************************************************
* SQLGetConnectAttr [ODBC32.032]
*/
SQLRETURN
TYPE
SQLGetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLRETURN
WINAPI
SQLGetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
...
...
@@ -814,7 +811,7 @@ SQLRETURNTYPE SQLGetConnectAttr(SQLHDBC ConnectionHandle,
/*************************************************************************
* SQLGetConnectOption [ODBC32.042]
*/
SQLRETURN
TYPE
SQLGetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
SQLRETURN
WINAPI
SQLGetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
{
TRACE
(
"
\n
"
);
...
...
@@ -831,7 +828,7 @@ SQLRETURNTYPE SQLGetConnectOption(SQLHDBC ConnectionHandle, SQLUSMALLINT Option
/*************************************************************************
* SQLGetCursorName [ODBC32.017]
*/
SQLRETURN
TYPE
SQLGetCursorName
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLGetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
NameLength
)
{
...
...
@@ -850,7 +847,7 @@ SQLRETURNTYPE SQLGetCursorName(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLGetData [ODBC32.043]
*/
SQLRETURN
TYPE
SQLGetData
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLGetData
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ColumnNumber
,
SQLSMALLINT
TargetType
,
SQLPOINTER
TargetValue
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StrLen_or_Ind
)
...
...
@@ -870,7 +867,7 @@ SQLRETURNTYPE SQLGetData(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLGetDescField [ODBC32.033]
*/
SQLRETURN
TYPE
SQLGetDescField
(
SQLHDESC
DescriptorHandle
,
SQLRETURN
WINAPI
SQLGetDescField
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
...
...
@@ -890,7 +887,7 @@ SQLRETURNTYPE SQLGetDescField(SQLHDESC DescriptorHandle,
/*************************************************************************
* SQLGetDescRec [ODBC32.034]
*/
SQLRETURN
TYPE
SQLGetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLRETURN
WINAPI
SQLGetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLCHAR
*
Name
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
,
SQLSMALLINT
*
Type
,
SQLSMALLINT
*
SubType
,
...
...
@@ -912,7 +909,7 @@ SQLRETURNTYPE SQLGetDescRec(SQLHDESC DescriptorHandle,
/*************************************************************************
* SQLGetDiagField [ODBC32.035]
*/
SQLRETURN
TYPE
SQLGetDiagField
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLRETURN
WINAPI
SQLGetDiagField
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
DiagIdentifier
,
SQLPOINTER
DiagInfo
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
)
...
...
@@ -932,7 +929,7 @@ SQLRETURNTYPE SQLGetDiagField(SQLSMALLINT HandleType, SQLHANDLE Handle,
/*************************************************************************
* SQLGetDiagRec [ODBC32.036]
*/
SQLRETURN
TYPE
SQLGetDiagRec
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLRETURN
WINAPI
SQLGetDiagRec
(
SQLSMALLINT
HandleType
,
SQLHANDLE
Handle
,
SQLSMALLINT
RecNumber
,
SQLCHAR
*
Sqlstate
,
SQLINTEGER
*
NativeError
,
SQLCHAR
*
MessageText
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
TextLength
)
...
...
@@ -952,7 +949,7 @@ SQLRETURNTYPE SQLGetDiagRec(SQLSMALLINT HandleType, SQLHANDLE Handle,
/*************************************************************************
* SQLGetEnvAttr [ODBC32.037]
*/
SQLRETURN
TYPE
SQLGetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLRETURN
WINAPI
SQLGetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
...
...
@@ -970,7 +967,7 @@ SQLRETURNTYPE SQLGetEnvAttr(SQLHENV EnvironmentHandle,
/*************************************************************************
* SQLGetFunctions [ODBC32.044]
*/
SQLRETURN
TYPE
SQLGetFunctions
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
FunctionId
,
SQLUSMALLINT
*
Supported
)
SQLRETURN
WINAPI
SQLGetFunctions
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
FunctionId
,
SQLUSMALLINT
*
Supported
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -986,7 +983,7 @@ SQLRETURNTYPE SQLGetFunctions(SQLHDBC ConnectionHandle, SQLUSMALLINT FunctionId
/*************************************************************************
* SQLGetInfo [ODBC32.045]
*/
SQLRETURN
TYPE
SQLGetInfo
(
SQLHDBC
ConnectionHandle
,
SQLRETURN
WINAPI
SQLGetInfo
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
InfoType
,
SQLPOINTER
InfoValue
,
SQLSMALLINT
BufferLength
,
SQLSMALLINT
*
StringLength
)
{
...
...
@@ -1004,7 +1001,7 @@ SQLRETURNTYPE SQLGetInfo(SQLHDBC ConnectionHandle,
/*************************************************************************
* SQLGetStmtAttr [ODBC32.038]
*/
SQLRETURN
TYPE
SQLGetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLGetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
,
SQLINTEGER
*
StringLength
)
{
...
...
@@ -1022,7 +1019,7 @@ SQLRETURNTYPE SQLGetStmtAttr(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLGetStmtOption [ODBC32.046]
*/
SQLRETURN
TYPE
SQLGetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
SQLRETURN
WINAPI
SQLGetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLPOINTER
Value
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1038,7 +1035,7 @@ SQLRETURNTYPE SQLGetStmtOption(SQLHSTMT StatementHandle, SQLUSMALLINT Option, S
/*************************************************************************
* SQLGetTypeInfo [ODBC32.047]
*/
SQLRETURN
TYPE
SQLGetTypeInfo
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
DataType
)
SQLRETURN
WINAPI
SQLGetTypeInfo
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
DataType
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1054,7 +1051,7 @@ SQLRETURNTYPE SQLGetTypeInfo(SQLHSTMT StatementHandle, SQLSMALLINT DataType)
/*************************************************************************
* SQLNumResultCols [ODBC32.018]
*/
SQLRETURN
TYPE
SQLNumResultCols
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
*
ColumnCount
)
SQLRETURN
WINAPI
SQLNumResultCols
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
*
ColumnCount
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1070,7 +1067,7 @@ SQLRETURNTYPE SQLNumResultCols(SQLHSTMT StatementHandle, SQLSMALLINT *ColumnCou
/*************************************************************************
* SQLParamData [ODBC32.048]
*/
SQLRETURN
TYPE
SQLParamData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
*
Value
)
SQLRETURN
WINAPI
SQLParamData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
*
Value
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1086,7 +1083,7 @@ SQLRETURNTYPE SQLParamData(SQLHSTMT StatementHandle, SQLPOINTER *Value)
/*************************************************************************
* SQLPrepare [ODBC32.019]
*/
SQLRETURN
TYPE
SQLPrepare
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
SQLRETURN
WINAPI
SQLPrepare
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
StatementText
,
SQLINTEGER
TextLength
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1102,7 +1099,7 @@ SQLRETURNTYPE SQLPrepare(SQLHSTMT StatementHandle, SQLCHAR *StatementText, SQLI
/*************************************************************************
* SQLPutData [ODBC32.049]
*/
SQLRETURN
TYPE
SQLPutData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
Data
,
SQLINTEGER
StrLen_or_Ind
)
SQLRETURN
WINAPI
SQLPutData
(
SQLHSTMT
StatementHandle
,
SQLPOINTER
Data
,
SQLINTEGER
StrLen_or_Ind
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1118,7 +1115,7 @@ SQLRETURNTYPE SQLPutData(SQLHSTMT StatementHandle, SQLPOINTER Data, SQLINTEGER
/*************************************************************************
* SQLRowCount [ODBC32.020]
*/
SQLRETURN
TYPE
SQLRowCount
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
*
RowCount
)
SQLRETURN
WINAPI
SQLRowCount
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
*
RowCount
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1134,7 +1131,7 @@ SQLRETURNTYPE SQLRowCount(SQLHSTMT StatementHandle, SQLINTEGER *RowCount)
/*************************************************************************
* SQLSetConnectAttr [ODBC32.039]
*/
SQLRETURN
TYPE
SQLSetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLRETURN
WINAPI
SQLSetConnectAttr
(
SQLHDBC
ConnectionHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
TRACE
(
"
\n
"
);
...
...
@@ -1151,7 +1148,7 @@ SQLRETURNTYPE SQLSetConnectAttr(SQLHDBC ConnectionHandle, SQLINTEGER Attribute,
/*************************************************************************
* SQLSetConnectOption [ODBC32.050]
*/
SQLRETURN
TYPE
SQLSetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLUINTEGER
Value
)
SQLRETURN
WINAPI
SQLSetConnectOption
(
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
Option
,
SQLUINTEGER
Value
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1167,7 +1164,7 @@ SQLRETURNTYPE SQLSetConnectOption(SQLHDBC ConnectionHandle, SQLUSMALLINT Option
/*************************************************************************
* SQLSetCursorName [ODBC32.021]
*/
SQLRETURN
TYPE
SQLSetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
NameLength
)
SQLRETURN
WINAPI
SQLSetCursorName
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CursorName
,
SQLSMALLINT
NameLength
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1183,7 +1180,7 @@ SQLRETURNTYPE SQLSetCursorName(SQLHSTMT StatementHandle, SQLCHAR *CursorName, S
/*************************************************************************
* SQLSetDescField [ODBC32.073]
*/
SQLRETURN
TYPE
SQLSetDescField
(
SQLHDESC
DescriptorHandle
,
SQLRETURN
WINAPI
SQLSetDescField
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
FieldIdentifier
,
SQLPOINTER
Value
,
SQLINTEGER
BufferLength
)
{
...
...
@@ -1201,7 +1198,7 @@ SQLRETURNTYPE SQLSetDescField(SQLHDESC DescriptorHandle,
/*************************************************************************
* SQLSetDescRec [ODBC32.074]
*/
SQLRETURN
TYPE
SQLSetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLRETURN
WINAPI
SQLSetDescRec
(
SQLHDESC
DescriptorHandle
,
SQLSMALLINT
RecNumber
,
SQLSMALLINT
Type
,
SQLSMALLINT
SubType
,
SQLINTEGER
Length
,
SQLSMALLINT
Precision
,
SQLSMALLINT
Scale
,
...
...
@@ -1223,7 +1220,7 @@ SQLRETURNTYPE SQLSetDescRec(SQLHDESC DescriptorHandle,
/*************************************************************************
* SQLSetEnvAttr [ODBC32.075]
*/
SQLRETURN
TYPE
SQLSetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLRETURN
WINAPI
SQLSetEnvAttr
(
SQLHENV
EnvironmentHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
...
...
@@ -1241,7 +1238,7 @@ SQLRETURNTYPE SQLSetEnvAttr(SQLHENV EnvironmentHandle,
/*************************************************************************
* SQLSetParam [ODBC32.022]
*/
SQLRETURN
TYPE
SQLSetParam
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLSetParam
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
ParameterNumber
,
SQLSMALLINT
ValueType
,
SQLSMALLINT
ParameterType
,
SQLUINTEGER
LengthPrecision
,
SQLSMALLINT
ParameterScale
,
SQLPOINTER
ParameterValue
,
...
...
@@ -1262,7 +1259,7 @@ SQLRETURNTYPE SQLSetParam(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLSetStmtAttr [ODBC32.076]
*/
SQLRETURN
TYPE
SQLSetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLSetStmtAttr
(
SQLHSTMT
StatementHandle
,
SQLINTEGER
Attribute
,
SQLPOINTER
Value
,
SQLINTEGER
StringLength
)
{
...
...
@@ -1280,7 +1277,7 @@ SQLRETURNTYPE SQLSetStmtAttr(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLSetStmtOption [ODBC32.051]
*/
SQLRETURN
TYPE
SQLSetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLUINTEGER
Value
)
SQLRETURN
WINAPI
SQLSetStmtOption
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
Option
,
SQLUINTEGER
Value
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1296,7 +1293,7 @@ SQLRETURNTYPE SQLSetStmtOption(SQLHSTMT StatementHandle, SQLUSMALLINT Option, S
/*************************************************************************
* SQLSpecialColumns [ODBC32.052]
*/
SQLRETURN
TYPE
SQLSpecialColumns
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLSpecialColumns
(
SQLHSTMT
StatementHandle
,
SQLUSMALLINT
IdentifierType
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
...
...
@@ -1317,7 +1314,7 @@ SQLRETURNTYPE SQLSpecialColumns(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLStatistics [ODBC32.053]
*/
SQLRETURN
TYPE
SQLStatistics
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLStatistics
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
...
...
@@ -1338,7 +1335,7 @@ SQLRETURNTYPE SQLStatistics(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLTables [ODBC32.054]
*/
SQLRETURN
TYPE
SQLTables
(
SQLHSTMT
StatementHandle
,
SQLRETURN
WINAPI
SQLTables
(
SQLHSTMT
StatementHandle
,
SQLCHAR
*
CatalogName
,
SQLSMALLINT
NameLength1
,
SQLCHAR
*
SchemaName
,
SQLSMALLINT
NameLength2
,
SQLCHAR
*
TableName
,
SQLSMALLINT
NameLength3
,
...
...
@@ -1359,7 +1356,7 @@ SQLRETURNTYPE SQLTables(SQLHSTMT StatementHandle,
/*************************************************************************
* SQLTransact [ODBC32.023]
*/
SQLRETURN
TYPE
SQLTransact
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLRETURN
WINAPI
SQLTransact
(
SQLHENV
EnvironmentHandle
,
SQLHDBC
ConnectionHandle
,
SQLUSMALLINT
CompletionType
)
{
TRACE
(
"
\n
"
);
...
...
@@ -1376,7 +1373,7 @@ SQLRETURNTYPE SQLTransact(SQLHENV EnvironmentHandle, SQLHDBC ConnectionHandle,
/*************************************************************************
* SQLBrowseConnect [ODBC32.055]
*/
SQLRETURN
TYPE
SQLBrowseConnect
(
SQLRETURN
WINAPI
SQLBrowseConnect
(
SQLHDBC
hdbc
,
SQLCHAR
*
szConnStrIn
,
SQLSMALLINT
cbConnStrIn
,
...
...
@@ -1398,7 +1395,7 @@ SQLRETURNTYPE SQLBrowseConnect(
/*************************************************************************
* SQLBulkOperations [ODBC32.078]
*/
SQLRETURN
TYPE
SQLBulkOperations
(
SQLRETURN
WINAPI
SQLBulkOperations
(
SQLHSTMT
StatementHandle
,
SQLSMALLINT
Operation
)
{
...
...
@@ -1416,7 +1413,7 @@ SQLRETURNTYPE SQLBulkOperations(
/*************************************************************************
* SQLColAttributes [ODBC32.006]
*/
SQLRETURN
TYPE
SQLColAttributes
(
SQLRETURN
WINAPI
SQLColAttributes
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
icol
,
SQLUSMALLINT
fDescType
,
...
...
@@ -1439,7 +1436,7 @@ SQLRETURNTYPE SQLColAttributes(
/*************************************************************************
* SQLColumnPrivileges [ODBC32.056]
*/
SQLRETURN
TYPE
SQLColumnPrivileges
(
SQLRETURN
WINAPI
SQLColumnPrivileges
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
...
...
@@ -1465,7 +1462,7 @@ SQLRETURNTYPE SQLColumnPrivileges(
/*************************************************************************
* SQLDescribeParam [ODBC32.058]
*/
SQLRETURN
TYPE
SQLDescribeParam
(
SQLRETURN
WINAPI
SQLDescribeParam
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
ipar
,
SQLSMALLINT
*
pfSqlType
,
...
...
@@ -1487,7 +1484,7 @@ SQLRETURNTYPE SQLDescribeParam(
/*************************************************************************
* SQLExtendedFetch [ODBC32.059]
*/
SQLRETURN
TYPE
SQLExtendedFetch
(
SQLRETURN
WINAPI
SQLExtendedFetch
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
fFetchType
,
SQLINTEGER
irow
,
...
...
@@ -1508,7 +1505,7 @@ SQLRETURNTYPE SQLExtendedFetch(
/*************************************************************************
* SQLForeignKeys [ODBC32.060]
*/
SQLRETURN
TYPE
SQLForeignKeys
(
SQLRETURN
WINAPI
SQLForeignKeys
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szPkCatalogName
,
SQLSMALLINT
cbPkCatalogName
,
...
...
@@ -1539,7 +1536,7 @@ SQLRETURNTYPE SQLForeignKeys(
/*************************************************************************
* SQLMoreResults [ODBC32.061]
*/
SQLRETURN
TYPE
SQLMoreResults
(
SQLHSTMT
hstmt
)
SQLRETURN
WINAPI
SQLMoreResults
(
SQLHSTMT
hstmt
)
{
TRACE
(
"
\n
"
);
if
(
gProxyHandle
.
dmHandle
==
NULL
)
...
...
@@ -1554,7 +1551,7 @@ SQLRETURNTYPE SQLMoreResults(SQLHSTMT hstmt)
/*************************************************************************
* SQLNativeSql [ODBC32.062]
*/
SQLRETURN
TYPE
SQLNativeSql
(
SQLRETURN
WINAPI
SQLNativeSql
(
SQLHDBC
hdbc
,
SQLCHAR
*
szSqlStrIn
,
SQLINTEGER
cbSqlStrIn
,
...
...
@@ -1576,7 +1573,7 @@ SQLRETURNTYPE SQLNativeSql(
/*************************************************************************
* SQLNumParams [ODBC32.063]
*/
SQLRETURN
TYPE
SQLNumParams
(
SQLRETURN
WINAPI
SQLNumParams
(
SQLHSTMT
hstmt
,
SQLSMALLINT
*
pcpar
)
{
...
...
@@ -1593,7 +1590,7 @@ SQLRETURNTYPE SQLNumParams(
/*************************************************************************
* SQLParamOptions [ODBC32.064]
*/
SQLRETURN
TYPE
SQLParamOptions
(
SQLRETURN
WINAPI
SQLParamOptions
(
SQLHSTMT
hstmt
,
SQLUINTEGER
crow
,
SQLUINTEGER
*
pirow
)
...
...
@@ -1611,7 +1608,7 @@ SQLRETURNTYPE SQLParamOptions(
/*************************************************************************
* SQLPrimaryKeys [ODBC32.065]
*/
SQLRETURN
TYPE
SQLPrimaryKeys
(
SQLRETURN
WINAPI
SQLPrimaryKeys
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
...
...
@@ -1635,7 +1632,7 @@ SQLRETURNTYPE SQLPrimaryKeys(
/*************************************************************************
* SQLProcedureColumns [ODBC32.066]
*/
SQLRETURN
TYPE
SQLProcedureColumns
(
SQLRETURN
WINAPI
SQLProcedureColumns
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
...
...
@@ -1661,7 +1658,7 @@ SQLRETURNTYPE SQLProcedureColumns(
/*************************************************************************
* SQLProcedures [ODBC32.067]
*/
SQLRETURN
TYPE
SQLProcedures
(
SQLRETURN
WINAPI
SQLProcedures
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
...
...
@@ -1685,7 +1682,7 @@ SQLRETURNTYPE SQLProcedures(
/*************************************************************************
* SQLSetPos [ODBC32.068]
*/
SQLRETURN
TYPE
SQLSetPos
(
SQLRETURN
WINAPI
SQLSetPos
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
irow
,
SQLUSMALLINT
fOption
,
...
...
@@ -1705,7 +1702,7 @@ SQLRETURNTYPE SQLSetPos(
/*************************************************************************
* SQLTablePrivileges [ODBC32.070]
*/
SQLRETURN
TYPE
SQLTablePrivileges
(
SQLRETURN
WINAPI
SQLTablePrivileges
(
SQLHSTMT
hstmt
,
SQLCHAR
*
szCatalogName
,
SQLSMALLINT
cbCatalogName
,
...
...
@@ -1729,7 +1726,7 @@ SQLRETURNTYPE SQLTablePrivileges(
/*************************************************************************
* SQLDrivers [ODBC32.071]
*/
SQLRETURN
TYPE
SQLDrivers
(
SQLRETURN
WINAPI
SQLDrivers
(
SQLHENV
henv
,
SQLUSMALLINT
fDirection
,
SQLCHAR
*
szDriverDesc
,
...
...
@@ -1754,7 +1751,7 @@ SQLRETURNTYPE SQLDrivers(
/*************************************************************************
* SQLBindParameter [ODBC32.072]
*/
SQLRETURN
TYPE
SQLBindParameter
(
SQLRETURN
WINAPI
SQLBindParameter
(
SQLHSTMT
hstmt
,
SQLUSMALLINT
ipar
,
SQLSMALLINT
fParamType
,
...
...
@@ -1781,7 +1778,7 @@ SQLRETURNTYPE SQLBindParameter(
/*************************************************************************
* SQLDriverConnect [ODBC32.041]
*/
SQLRETURN
TYPE
SQLDriverConnect
(
SQLRETURN
WINAPI
SQLDriverConnect
(
SQLHDBC
hdbc
,
SQLHWND
hwnd
,
SQLCHAR
*
conn_str_in
,
...
...
@@ -1806,7 +1803,7 @@ SQLRETURNTYPE SQLDriverConnect(
/*************************************************************************
* SQLSetScrollOptions [ODBC32.069]
*/
SQLRETURN
TYPE
SQLSetScrollOptions
(
SQLRETURN
WINAPI
SQLSetScrollOptions
(
SQLHSTMT
statement_handle
,
SQLUSMALLINT
f_concurrency
,
SQLINTEGER
crow_keyset
,
...
...
dlls/ole32/moniker.c
View file @
7980a50c
...
...
@@ -495,7 +495,7 @@ HRESULT WINAPI OleRun(LPUNKNOWN pUnknown)
/******************************************************************************
* MkParseDisplayName [OLE32.81]
*/
HRESULT
MkParseDisplayName
(
LPBC
pbc
,
LPCOLESTR
szUserName
,
HRESULT
WINAPI
MkParseDisplayName
(
LPBC
pbc
,
LPCOLESTR
szUserName
,
LPDWORD
pchEaten
,
LPMONIKER
*
ppmk
)
{
FIXME
(
"(%p, %s, %p, %p): stub.
\n
"
,
pbc
,
debugstr_w
(
szUserName
),
pchEaten
,
*
ppmk
);
...
...
dlls/shell32/shellstring.c
View file @
7980a50c
...
...
@@ -291,7 +291,7 @@ LPWSTR WINAPI StrDupW (LPCWSTR lpSrc)
/*************************************************************************
* StrCSpnA [SHLWAPI]
*/
int
StrCSpnA
(
LPCSTR
lpStr
,
LPCSTR
lpSet
)
int
WINAPI
StrCSpnA
(
LPCSTR
lpStr
,
LPCSTR
lpSet
)
{
int
i
,
j
,
pos
=
strlen
(
lpStr
);
...
...
@@ -315,7 +315,7 @@ int StrCSpnA (LPCSTR lpStr, LPCSTR lpSet)
/*************************************************************************
* StrCSpnW [SHLWAPI]
*/
int
StrCSpnW
(
LPCWSTR
lpStr
,
LPCWSTR
lpSet
)
int
WINAPI
StrCSpnW
(
LPCWSTR
lpStr
,
LPCWSTR
lpSet
)
{
int
i
,
j
,
pos
=
lstrlenW
(
lpStr
);
...
...
dlls/urlmon/umon.c
View file @
7980a50c
...
...
@@ -26,7 +26,7 @@ DEFAULT_DEBUG_CHANNEL(win32);
* MK_E_SYNTAX not a valid url
*
*/
HRESULT
CreateURLMoniker
(
IMoniker
*
pmkContext
,
LPWSTR
szURL
,
IMoniker
**
ppmk
)
HRESULT
WINAPI
CreateURLMoniker
(
IMoniker
*
pmkContext
,
LPWSTR
szURL
,
IMoniker
**
ppmk
)
{
TRACE
(
"
\n
"
);
...
...
include/urlmon.h
View file @
7980a50c
...
...
@@ -5,7 +5,7 @@
#ifndef __WINE_URLMON_H
#define __WINE_URLMON_H
HRESULT
CreateURLMoniker
(
IMoniker
*
pmkContext
,
LPWSTR
szURL
,
IMoniker
**
ppmk
);
HRESULT
WINAPI
CreateURLMoniker
(
IMoniker
*
pmkContext
,
LPWSTR
szURL
,
IMoniker
**
ppmk
);
#endif
/* __WINE_URLMON_H */
scheduler/critsection.c
View file @
7980a50c
...
...
@@ -184,6 +184,9 @@ void WINAPI UninitializeCriticalSection( CRITICAL_SECTION *crit )
#ifdef __i386__
/***********************************************************************
* InterlockCompareExchange (KERNEL32.@)
*/
PVOID
WINAPI
InterlockedCompareExchange
(
PVOID
*
dest
,
PVOID
xchg
,
PVOID
compare
);
__ASM_GLOBAL_FUNC
(
InterlockedCompareExchange
,
"movl 12(%esp),%eax
\n\t
"
...
...
@@ -192,6 +195,9 @@ __ASM_GLOBAL_FUNC(InterlockedCompareExchange,
"lock; cmpxchgl %ecx,(%edx)
\n\t
"
"ret $12"
);
/***********************************************************************
* InterlockedExchange (KERNEL32.@)
*/
LONG
WINAPI
InterlockedExchange
(
PLONG
dest
,
LONG
val
);
__ASM_GLOBAL_FUNC
(
InterlockedExchange
,
"movl 8(%esp),%eax
\n\t
"
...
...
@@ -199,6 +205,9 @@ __ASM_GLOBAL_FUNC(InterlockedExchange,
"lock; xchgl %eax,(%edx)
\n\t
"
"ret $8"
);
/***********************************************************************
* InterlockedExchangeAdd (KERNEL32.@)
*/
LONG
WINAPI
InterlockedExchangeAdd
(
PLONG
dest
,
LONG
incr
);
__ASM_GLOBAL_FUNC
(
InterlockedExchangeAdd
,
"movl 8(%esp),%eax
\n\t
"
...
...
@@ -206,6 +215,9 @@ __ASM_GLOBAL_FUNC(InterlockedExchangeAdd,
"lock; xaddl %eax,(%edx)
\n\t
"
"ret $8"
);
/***********************************************************************
* InterlockedIncrement (KERNEL32.@)
*/
LONG
WINAPI
InterlockedIncrement
(
PLONG
dest
);
__ASM_GLOBAL_FUNC
(
InterlockedIncrement
,
"movl 4(%esp),%edx
\n\t
"
...
...
@@ -214,6 +226,9 @@ __ASM_GLOBAL_FUNC(InterlockedIncrement,
"incl %eax
\n\t
"
"ret $4"
);
/***********************************************************************
* InterlockDecrement (KERNEL32.@)
*/
LONG
WINAPI
InterlockedDecrement
(
PLONG
dest
);
__ASM_GLOBAL_FUNC
(
InterlockedDecrement
,
"movl 4(%esp),%edx
\n\t
"
...
...
@@ -237,6 +252,9 @@ __ASM_GLOBAL_FUNC(InterlockedDecrement,
#include <synch.h>
static
lwp_mutex_t
interlocked_mutex
=
DEFAULTMUTEX
;
/***********************************************************************
* InterlockedCompareExchange (KERNEL32.@)
*/
PVOID
WINAPI
InterlockedCompareExchange
(
PVOID
*
dest
,
PVOID
xchg
,
PVOID
compare
)
{
_lwp_mutex_lock
(
&
interlocked_mutex
);
...
...
@@ -250,6 +268,9 @@ PVOID WINAPI InterlockedCompareExchange( PVOID *dest, PVOID xchg, PVOID compare
return
compare
;
}
/***********************************************************************
* InterlockedExchange (KERNEL32.@)
*/
LONG
WINAPI
InterlockedExchange
(
PLONG
dest
,
LONG
val
)
{
LONG
retv
;
...
...
@@ -262,6 +283,9 @@ LONG WINAPI InterlockedExchange( PLONG dest, LONG val )
return
retv
;
}
/***********************************************************************
* InterlockedExchangeAdd (KERNEL32.@)
*/
LONG
WINAPI
InterlockedExchangeAdd
(
PLONG
dest
,
LONG
incr
)
{
LONG
retv
;
...
...
@@ -274,6 +298,9 @@ LONG WINAPI InterlockedExchangeAdd( PLONG dest, LONG incr )
return
retv
;
}
/***********************************************************************
* InterlockedIncrement (KERNEL32.@)
*/
LONG
WINAPI
InterlockedIncrement
(
PLONG
dest
)
{
LONG
retv
;
...
...
@@ -285,6 +312,9 @@ LONG WINAPI InterlockedIncrement( PLONG dest )
return
retv
;
}
/***********************************************************************
* InterlockedDecrement (KERNEL32.@)
*/
LONG
WINAPI
InterlockedDecrement
(
PLONG
dest
)
{
LONG
retv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment