Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f8e71a34
Commit
f8e71a34
authored
Dec 31, 2010
by
Greg Geldorp
Committed by
Alexandre Julliard
Dec 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32: Use correct 32/64-bit typedefs.
Paul Vriens did the hard stuff of figuring out that the typedefs in oledb.idl were not correct.
parent
65892b5b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
78 additions
and
78 deletions
+78
-78
row_server.c
dlls/msdaps/row_server.c
+21
-21
row_server.idl
dlls/msdaps/row_server.idl
+28
-28
usrmarshal.c
dlls/msdaps/usrmarshal.c
+11
-11
convert.c
dlls/oledb32/convert.c
+1
-1
convert.c
dlls/oledb32/tests/convert.c
+0
-0
access.idl
include/access.idl
+3
-3
cmdbas.idl
include/cmdbas.idl
+2
-2
oledb.idl
include/oledb.idl
+12
-12
No files found.
dlls/msdaps/row_server.c
View file @
f8e71a34
...
...
@@ -167,7 +167,7 @@ static HRESULT WINAPI server_GetColumns(IWineRowServer* iface, DBORDINAL num_col
DBCOLUMNACCESS
*
cols
;
IRow
*
row
;
TRACE
(
"(%p)->(%d, %p, %p)
\n
"
,
This
,
num_cols
,
in_data
,
out_data
);
TRACE
(
"(%p)->(%
l
d, %p, %p)
\n
"
,
This
,
num_cols
,
in_data
,
out_data
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRow
,
(
void
**
)
&
row
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -176,7 +176,7 @@ static HRESULT WINAPI server_GetColumns(IWineRowServer* iface, DBORDINAL num_col
for
(
i
=
0
;
i
<
num_cols
;
i
++
)
{
TRACE
(
"%
d:
\t
max_len %
d type %04x
\n
"
,
i
,
in_data
[
i
].
max_len
,
in_data
[
i
].
type
);
TRACE
(
"%
ld:
\t
max_len %l
d type %04x
\n
"
,
i
,
in_data
[
i
].
max_len
,
in_data
[
i
].
type
);
cols
[
i
].
pData
=
CoTaskMemAlloc
(
db_type_size
(
in_data
[
i
].
type
,
in_data
[
i
].
max_len
));
cols
[
i
].
columnid
=
in_data
[
i
].
columnid
;
cols
[
i
].
cbMaxLen
=
in_data
[
i
].
max_len
;
...
...
@@ -275,7 +275,7 @@ static HRESULT WINAPI server_SetColumns(IWineRowServer* iface, DBORDINAL num_col
DBCOLUMNACCESS
*
cols
;
IRowChange
*
row_change
;
TRACE
(
"(%p)->(%d, %p, %p)
\n
"
,
This
,
num_cols
,
in_data
,
status
);
TRACE
(
"(%p)->(%
l
d, %p, %p)
\n
"
,
This
,
num_cols
,
in_data
,
status
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowChange
,
(
void
**
)
&
row_change
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -283,7 +283,7 @@ static HRESULT WINAPI server_SetColumns(IWineRowServer* iface, DBORDINAL num_col
for
(
i
=
0
;
i
<
num_cols
;
i
++
)
{
TRACE
(
"%d:
\t
type %04x
\n
"
,
i
,
in_data
[
i
].
type
);
TRACE
(
"%
l
d:
\t
type %04x
\n
"
,
i
,
in_data
[
i
].
type
);
cols
[
i
].
pData
=
CoTaskMemAlloc
(
db_type_size
(
in_data
[
i
].
type
,
in_data
[
i
].
max_len
));
memcpy
(
cols
[
i
].
pData
,
&
V_I1
(
&
in_data
[
i
].
v
),
db_type_size
(
in_data
[
i
].
type
,
in_data
[
i
].
max_len
));
cols
[
i
].
columnid
=
in_data
[
i
].
columnid
;
...
...
@@ -317,7 +317,7 @@ static HRESULT WINAPI server_AddRefRows(IWineRowServer* iface, DBCOUNTITEM cRows
IRowset
*
rowset
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
TRACE
(
"(%p)->(%
l
d, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowset
,
(
void
**
)
&
rowset
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -355,7 +355,7 @@ static HRESULT WINAPI server_GetNextRows(IWineRowServer* iface, HCHAPTER hReserv
IRowset
*
rowset
;
HRESULT
hr
;
TRACE
(
"(%p)->(%08lx, %
d, %
d, %p, %p)
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
TRACE
(
"(%p)->(%08lx, %
ld, %l
d, %p, %p)
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowset
,
(
void
**
)
&
rowset
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -364,7 +364,7 @@ static HRESULT WINAPI server_GetNextRows(IWineRowServer* iface, HCHAPTER hReserv
hr
=
IRowset_GetNextRows
(
rowset
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
IRowset_Release
(
rowset
);
TRACE
(
"returning %08x, got %d rows
\n
"
,
hr
,
*
pcRowObtained
);
TRACE
(
"returning %08x, got %
l
d rows
\n
"
,
hr
,
*
pcRowObtained
);
return
hr
;
}
...
...
@@ -375,7 +375,7 @@ static HRESULT WINAPI server_ReleaseRows(IWineRowServer* iface, DBCOUNTITEM cRow
IRowset
*
rowset
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %p, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
TRACE
(
"(%p)->(%
l
d, %p, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IRowset
,
(
void
**
)
&
rowset
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -411,7 +411,7 @@ static HRESULT WINAPI server_GetRowsAt(IWineRowServer *iface, HWATCHREGION hRese
IRowsetLocate
*
rowsetlocate
;
HRESULT
hr
;
TRACE
(
"(%p)->(%08lx, %08lx, %
d, %p, %d, %
d, %p, %p
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
TRACE
(
"(%p)->(%08lx, %08lx, %
ld, %p, %ld, %l
d, %p, %p
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
prghRows
);
*
prghRows
=
NULL
;
...
...
@@ -497,7 +497,7 @@ static HRESULT WINAPI server_CreateAccessor(IWineRowServer* iface, DBACCESSORFLA
HRESULT
hr
;
IAccessor
*
accessor
;
TRACE
(
"(%p)->(%08x, %
d, %p, %
d, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
cbRowSize
,
phAccessor
,
rgStatus
);
TRACE
(
"(%p)->(%08x, %
ld, %p, %l
d, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
cbRowSize
,
phAccessor
,
rgStatus
);
hr
=
IUnknown_QueryInterface
(
This
->
inner_unk
,
&
IID_IAccessor
,
(
void
**
)
&
accessor
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -688,14 +688,14 @@ static HRESULT WINAPI row_GetColumns(IRow* iface, DBORDINAL cColumns, DBCOLUMNAC
wine_getcolumns_out
*
out_data
;
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %p)
\n
"
,
This
,
cColumns
,
rgColumns
);
TRACE
(
"(%p)->(%
l
d, %p)
\n
"
,
This
,
cColumns
,
rgColumns
);
in_data
=
CoTaskMemAlloc
(
cColumns
*
sizeof
(
in_data
[
0
]));
out_data
=
CoTaskMemAlloc
(
cColumns
*
sizeof
(
out_data
[
0
]));
for
(
i
=
0
;
i
<
cColumns
;
i
++
)
{
TRACE
(
"%
d:
\t
data %p data_len %d status %08x max_len %
d type %04x
\n
"
,
i
,
rgColumns
[
i
].
pData
,
TRACE
(
"%
ld:
\t
data %p data_len %ld status %08x max_len %l
d type %04x
\n
"
,
i
,
rgColumns
[
i
].
pData
,
rgColumns
[
i
].
cbDataLen
,
rgColumns
[
i
].
dwStatus
,
rgColumns
[
i
].
cbMaxLen
,
rgColumns
[
i
].
wType
);
in_data
[
i
].
columnid
=
rgColumns
[
i
].
columnid
;
in_data
[
i
].
max_len
=
rgColumns
[
i
].
cbMaxLen
;
...
...
@@ -783,14 +783,14 @@ static HRESULT WINAPI row_change_SetColumns(IRowChange *iface, DBORDINAL cColumn
DBSTATUS
*
status
;
DBORDINAL
i
;
TRACE
(
"(%p)->(%d, %p)
\n
"
,
This
,
cColumns
,
rgColumns
);
TRACE
(
"(%p)->(%
l
d, %p)
\n
"
,
This
,
cColumns
,
rgColumns
);
in_data
=
CoTaskMemAlloc
(
cColumns
*
sizeof
(
in_data
[
0
]));
status
=
CoTaskMemAlloc
(
cColumns
*
sizeof
(
status
[
0
]));
for
(
i
=
0
;
i
<
cColumns
;
i
++
)
{
TRACE
(
"%
d: wtype %04x max %08x len %08
x
\n
"
,
i
,
rgColumns
[
i
].
wType
,
rgColumns
[
i
].
cbMaxLen
,
rgColumns
[
i
].
cbDataLen
);
TRACE
(
"%
ld: wtype %04x max %08lx len %08l
x
\n
"
,
i
,
rgColumns
[
i
].
wType
,
rgColumns
[
i
].
cbMaxLen
,
rgColumns
[
i
].
cbDataLen
);
V_VT
(
&
in_data
[
i
].
v
)
=
rgColumns
[
i
].
wType
;
memcpy
(
&
V_I1
(
&
in_data
[
i
].
v
),
rgColumns
[
i
].
pData
,
db_type_size
(
rgColumns
[
i
].
wType
,
rgColumns
[
i
].
cbDataLen
));
in_data
[
i
].
columnid
=
rgColumns
[
i
].
columnid
;
...
...
@@ -932,7 +932,7 @@ static HRESULT WINAPI rowsetlocate_AddRefRows(IRowsetLocate *iface, DBCOUNTITEM
DBREFCOUNT
*
refs
=
rgRefCounts
;
DBSTATUS
*
stats
=
rgRowStatus
;
TRACE
(
"(%p)->(%d, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
TRACE
(
"(%p)->(%
l
d, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRefCounts
,
rgRowStatus
);
if
(
!
refs
)
refs
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
refs
[
0
]));
if
(
!
stats
)
stats
=
CoTaskMemAlloc
(
cRows
*
sizeof
(
stats
[
0
]));
...
...
@@ -964,10 +964,10 @@ static HRESULT WINAPI rowsetlocate_GetData(IRowsetLocate *iface, HROW hRow, HACC
IAccessor_Release
(
accessor
);
if
(
FAILED
(
hr
))
return
hr
;
TRACE
(
"got %d bindings
\n
"
,
count
);
TRACE
(
"got %
l
d bindings
\n
"
,
count
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
TRACE
(
"%
d
\t
ord %d offs: val %d len %d stat %d, part %x, max len %
d type %04x
\n
"
,
TRACE
(
"%
ld
\t
ord %ld offs: val %ld len %ld stat %ld, part %x, max len %l
d type %04x
\n
"
,
i
,
bindings
[
i
].
iOrdinal
,
bindings
[
i
].
obValue
,
bindings
[
i
].
obLength
,
bindings
[
i
].
obStatus
,
bindings
[
i
].
dwPart
,
bindings
[
i
].
cbMaxLen
,
bindings
[
i
].
wType
);
if
(
bindings
[
i
].
dwPart
&
DBPART_LENGTH
&&
bindings
[
i
].
obLength
>=
max_len
)
...
...
@@ -994,7 +994,7 @@ static HRESULT WINAPI rowsetlocate_GetNextRows(IRowsetLocate *iface, HCHAPTER hR
HRESULT
hr
;
HROW
*
rows
=
NULL
;
TRACE
(
"(%p)->(%08lx, %
d, %
d, %p, %p)
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
TRACE
(
"(%p)->(%08lx, %
ld, %l
d, %p, %p)
\n
"
,
This
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
prghRows
);
hr
=
IWineRowServer_GetNextRows
(
This
->
server
,
hReserved
,
lRowsOffset
,
cRows
,
pcRowObtained
,
&
rows
);
if
(
*
prghRows
)
...
...
@@ -1017,7 +1017,7 @@ static HRESULT WINAPI rowsetlocate_ReleaseRows(IRowsetLocate *iface, DBCOUNTITEM
DBREFCOUNT
*
refs
=
rgRefCounts
;
DBROWSTATUS
*
status
=
rgRowStatus
;
TRACE
(
"(%p)->(%d, %p, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
TRACE
(
"(%p)->(%
l
d, %p, %p, %p, %p)
\n
"
,
This
,
cRows
,
rghRows
,
rgRowOptions
,
rgRefCounts
,
rgRowStatus
);
if
(
!
options
)
{
...
...
@@ -1061,7 +1061,7 @@ static HRESULT WINAPI rowsetlocate_GetRowsAt(IRowsetLocate *iface, HWATCHREGION
HRESULT
hr
;
HROW
*
rows
=
NULL
;
TRACE
(
"(%p)->(%08lx, %08lx, %
d, %p, %d, %
d, %p, %p
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
TRACE
(
"(%p)->(%08lx, %08lx, %
ld, %p, %ld, %l
d, %p, %p
\n
"
,
This
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
prghRows
);
hr
=
IWineRowServer_GetRowsAt
(
This
->
server
,
hReserved1
,
hReserved2
,
cbBookmark
,
pBookmark
,
lRowsOffset
,
cRows
,
pcRowsObtained
,
&
rows
);
...
...
@@ -1199,7 +1199,7 @@ static HRESULT WINAPI accessor_CreateAccessor(IAccessor *iface, DBACCESSORFLAGS
HRESULT
hr
;
DBBINDSTATUS
*
status
;
TRACE
(
"(%p)->(%08x, %
d, %p, %
d, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
cbRowSize
,
phAccessor
,
rgStatus
);
TRACE
(
"(%p)->(%08x, %
ld, %p, %l
d, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
cbRowSize
,
phAccessor
,
rgStatus
);
if
(
!
rgStatus
)
status
=
CoTaskMemAlloc
(
cBindings
*
sizeof
(
status
[
0
]));
else
status
=
rgStatus
;
...
...
dlls/msdaps/row_server.idl
View file @
f8e71a34
...
...
@@ -51,8 +51,8 @@ typedef struct
}
wine_getcolumns_out
;
HRESULT
GetColumns
(
[
in
]
DBORDINAL
num_cols
,
[
in
,
size_is
(
num_cols
)
]
wine_getcolumns_in
*
in_data
,
[
out
,
size_is
(
num_cols
)
]
wine_getcolumns_out
*
out_cols
)
;
[
in
,
size_is
(
(
ULONG
)
num_cols
)
]
wine_getcolumns_in
*
in_data
,
[
out
,
size_is
(
(
ULONG
)
num_cols
)
]
wine_getcolumns_out
*
out_cols
)
;
HRESULT
GetSourceRowset
(
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
IUnknown
**
ppRowset
,
...
...
@@ -79,14 +79,14 @@ typedef struct
}
wine_setcolumns_in
;
HRESULT
SetColumns
(
[
in
]
DBORDINAL
num_cols
,
[
in
,
size_is
(
num_cols
)
]
wine_setcolumns_in
*
in_data
,
[
out
,
size_is
(
num_cols
)
]
DBSTATUS
*
status
)
;
[
in
,
size_is
(
(
ULONG
)
num_cols
)
]
wine_setcolumns_in
*
in_data
,
[
out
,
size_is
(
(
ULONG
)
num_cols
)
]
DBSTATUS
*
status
)
;
/*
IRowset
*/
HRESULT
AddRefRows
(
[
in
]
DBCOUNTITEM
cRows
,
[
in
,
size_is
(
cRows
)
]
const
HROW
rghRows
[]
,
[
out
,
size_is
(
cRows
)
]
DBREFCOUNT
rgRefCounts
[]
,
[
out
,
size_is
(
cRows
)
]
DBROWSTATUS
rgRowStatus
[]
)
;
[
in
,
size_is
(
(
ULONG
)
cRows
)
]
const
HROW
rghRows
[]
,
[
out
,
size_is
(
(
ULONG
)
cRows
)
]
DBREFCOUNT
rgRefCounts
[]
,
[
out
,
size_is
(
(
ULONG
)
cRows
)
]
DBROWSTATUS
rgRowStatus
[]
)
;
HRESULT
GetData
(
[
in
]
HROW
hRow
,
[
in
]
HACCESSOR
hAccessor
,
...
...
@@ -97,13 +97,13 @@ typedef struct
[
in
]
DBROWOFFSET
lRowsOffset
,
[
in
]
DBROWCOUNT
cRows
,
[
out
]
DBCOUNTITEM
*
pcRowObtained
,
[
out
,
size_is
(,
cRows
)
]
HROW
**
prghRows
)
;
[
out
,
size_is
(,
(
ULONG
)
cRows
)
]
HROW
**
prghRows
)
;
HRESULT
ReleaseRows
(
[
in
]
DBCOUNTITEM
cRows
,
[
in
,
size_is
(
cRows
)
]
const
HROW
rghRows
[]
,
[
in
,
size_is
(
cRows
)
]
DBROWOPTIONS
rgRowOptions
[]
,
[
out
,
size_is
(
cRows
)
]
DBREFCOUNT
rgRefCounts
[]
,
[
out
,
size_is
(
cRows
)
]
DBROWSTATUS
rgRowStatus
[]
)
;
[
in
,
size_is
(
(
ULONG
)
cRows
)
]
const
HROW
rghRows
[]
,
[
in
,
size_is
(
(
ULONG
)
cRows
)
]
DBROWOPTIONS
rgRowOptions
[]
,
[
out
,
size_is
(
(
ULONG
)
cRows
)
]
DBREFCOUNT
rgRefCounts
[]
,
[
out
,
size_is
(
(
ULONG
)
cRows
)
]
DBROWSTATUS
rgRowStatus
[]
)
;
HRESULT
RestartPosition
(
[
in
]
HCHAPTER
hReserved
)
;
...
...
@@ -111,38 +111,38 @@ typedef struct
HRESULT
Compare
(
[
in
]
HCHAPTER
hReserved
,
[
in
]
DBBKMARK
cbBookmark1
,
[
in
,
size_is
(
cbBookmark1
)
]
const
BYTE
*
pBookmark1
,
[
in
,
size_is
(
(
ULONG
)
cbBookmark1
)
]
const
BYTE
*
pBookmark1
,
[
in
]
DBBKMARK
cbBookmark2
,
[
in
,
size_is
(
cbBookmark2
)
]
const
BYTE
*
pBookmark2
,
[
in
,
size_is
(
(
ULONG
)
cbBookmark2
)
]
const
BYTE
*
pBookmark2
,
[
out
]
DBCOMPARE
*
pComparison
)
;
HRESULT
GetRowsAt
(
[
in
]
HWATCHREGION
hReserved1
,
[
in
]
HCHAPTER
hReserved2
,
[
in
]
DBBKMARK
cbBookmark
,
[
in
,
size_is
(
cbBookmark
)
]
const
BYTE
*
pBookmark
,
[
in
,
size_is
(
(
ULONG
)
cbBookmark
)
]
const
BYTE
*
pBookmark
,
[
in
]
DBROWOFFSET
lRowsOffset
,
[
in
]
DBROWCOUNT
cRows
,
[
out
]
DBCOUNTITEM
*
pcRowsObtained
,
[
out
,
size_is
(,
cRows
)
]
HROW
**
prghRows
)
;
[
out
,
size_is
(,
(
ULONG
)
cRows
)
]
HROW
**
prghRows
)
;
HRESULT
GetRowsByBookmark
(
[
in
]
HCHAPTER
hReserved
,
[
in
]
DBCOUNTITEM
cRows
,
[
in
,
size_is
(
cRows
)
]
const
DBBKMARK
rgcbBookmarks
[]
,
[
in
,
size_is
(
cRows
)
]
const
BYTE
*
rgpBookmarks
[]
,
[
out
,
size_is
(
cRows
)
]
HROW
rghRows
[]
,
[
out
,
size_is
(
cRows
)
]
DBROWSTATUS
rgRowStatus
[]
)
;
[
in
,
size_is
(
(
ULONG
)
cRows
)
]
const
DBBKMARK
rgcbBookmarks
[]
,
[
in
,
size_is
(
(
ULONG
)
cRows
)
]
const
BYTE
*
rgpBookmarks
[]
,
[
out
,
size_is
(
(
ULONG
)
cRows
)
]
HROW
rghRows
[]
,
[
out
,
size_is
(
(
ULONG
)
cRows
)
]
DBROWSTATUS
rgRowStatus
[]
)
;
HRESULT
Hash
(
[
in
]
HCHAPTER
hReserved
,
[
in
]
DBBKMARK
cBookmarks
,
[
in
,
size_is
(
cBookmarks
)
]
const
DBBKMARK
rgcbBookmarks
[]
,
[
in
,
size_is
(
cBookmarks
)
]
const
BYTE
*
rgpBookmarks
[]
,
[
out
,
size_is
(
cBookmarks
)
]
DBHASHVALUE
rgHashedValues
[]
,
[
out
,
size_is
(
cBookmarks
)
]
DBROWSTATUS
rgBookmarkStatus
[]
)
;
[
in
,
size_is
(
(
ULONG
)
cBookmarks
)
]
const
DBBKMARK
rgcbBookmarks
[]
,
[
in
,
size_is
(
(
ULONG
)
cBookmarks
)
]
const
BYTE
*
rgpBookmarks
[]
,
[
out
,
size_is
(
(
ULONG
)
cBookmarks
)
]
DBHASHVALUE
rgHashedValues
[]
,
[
out
,
size_is
(
(
ULONG
)
cBookmarks
)
]
DBROWSTATUS
rgBookmarkStatus
[]
)
;
/*
IRowsetInfo
*/
HRESULT
GetProperties
(
[
in
]
ULONG
cPropertyIDSets
,
[
in
,
unique
,
size_is
(
cPropertyIDSets
)
]
const
DBPROPIDSET
*
rgPropertyIDSets
,
[
in
,
unique
,
size_is
(
(
ULONG
)
cPropertyIDSets
)
]
const
DBPROPIDSET
*
rgPropertyIDSets
,
[
in
,
out
]
ULONG
*
pcPropertySets
,
[
out
,
size_is
(,
*
pcPropertySets
)
]
DBPROPSET
**
prgPropertySets
)
;
...
...
@@ -160,15 +160,15 @@ typedef struct
HRESULT
CreateAccessor
(
[
in
]
DBACCESSORFLAGS
dwAccessorFlags
,
[
in
]
DBCOUNTITEM
cBindings
,
[
in
,
unique
,
size_is
(
cBindings
)
]
const
DBBINDING
*
rgBindings
,
[
in
,
unique
,
size_is
(
(
ULONG
)
cBindings
)
]
const
DBBINDING
*
rgBindings
,
[
in
]
DBLENGTH
cbRowSize
,
[
out
]
HACCESSOR
*
phAccessor
,
[
in
,
out
,
unique
,
size_is
(
cBindings
)
]
DBBINDSTATUS
*
rgStatus
)
;
[
in
,
out
,
unique
,
size_is
(
(
ULONG
)
cBindings
)
]
DBBINDSTATUS
*
rgStatus
)
;
HRESULT
GetBindings
(
[
in
]
HACCESSOR
hAccessor
,
[
out
]
DBACCESSORFLAGS
*
pdwAccessorFlags
,
[
in
,
out
]
DBCOUNTITEM
*
pcBindings
,
[
out
,
size_is
(,
*
pcBindings
)
]
DBBINDING
**
prgBindings
)
;
[
out
,
size_is
(,
(
ULONG
)
*
pcBindings
)
]
DBBINDING
**
prgBindings
)
;
HRESULT
ReleaseAccessor
(
[
in
]
HACCESSOR
hAccessor
,
[
in
,
out
,
unique
]
DBREFCOUNT
*
pcRefCount
)
;
...
...
dlls/msdaps/usrmarshal.c
View file @
f8e71a34
...
...
@@ -597,12 +597,12 @@ HRESULT CALLBACK IAccessor_CreateAccessor_Proxy(IAccessor* This, DBACCESSORFLAGS
IErrorInfo
*
error
;
DBCOUNTITEM
i
;
TRACE
(
"(%p)->(%08x, %
d, %p, %
d, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
TRACE
(
"(%p)->(%08x, %
ld, %p, %l
d, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
cbRowSize
,
phAccessor
,
rgStatus
);
for
(
i
=
0
;
i
<
cBindings
;
i
++
)
{
TRACE
(
"%
d: ord %d val off %d len off %d stat off %d part %04x mem_owner %d max_len %
d type %04x
\n
"
,
TRACE
(
"%
ld: ord %ld val off %ld len off %ld stat off %ld part %04x mem_owner %d max_len %l
d type %04x
\n
"
,
i
,
rgBindings
[
i
].
iOrdinal
,
rgBindings
[
i
].
obValue
,
rgBindings
[
i
].
obLength
,
rgBindings
[
i
].
obStatus
,
rgBindings
[
i
].
dwPart
,
rgBindings
[
i
].
dwMemOwner
,
rgBindings
[
i
].
cbMaxLen
,
rgBindings
[
i
].
wType
);
}
...
...
@@ -625,7 +625,7 @@ HRESULT __RPC_STUB IAccessor_CreateAccessor_Stub(IAccessor* This, DBACCESSORFLAG
{
HRESULT
hr
;
TRACE
(
"(%p)->(%08x, %
d, %p, %
d, %p, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
TRACE
(
"(%p)->(%08x, %
ld, %p, %l
d, %p, %p, %p)
\n
"
,
This
,
dwAccessorFlags
,
cBindings
,
rgBindings
,
cbRowSize
,
phAccessor
,
rgStatus
,
ppErrorInfoRem
);
*
ppErrorInfoRem
=
NULL
;
...
...
@@ -728,14 +728,14 @@ HRESULT __RPC_STUB IRowsetInfo_GetProperties_Stub(IRowsetInfo* This, ULONG cProp
HRESULT
CALLBACK
IRowsetInfo_GetReferencedRowset_Proxy
(
IRowsetInfo
*
This
,
DBORDINAL
iOrdinal
,
REFIID
riid
,
IUnknown
**
ppReferencedRowset
)
{
FIXME
(
"(%p)->(%d, %s, %p): stub
\n
"
,
This
,
iOrdinal
,
debugstr_guid
(
riid
),
ppReferencedRowset
);
FIXME
(
"(%p)->(%
l
d, %s, %p): stub
\n
"
,
This
,
iOrdinal
,
debugstr_guid
(
riid
),
ppReferencedRowset
);
return
E_NOTIMPL
;
}
HRESULT
__RPC_STUB
IRowsetInfo_GetReferencedRowset_Stub
(
IRowsetInfo
*
This
,
DBORDINAL
iOrdinal
,
REFIID
riid
,
IUnknown
**
ppReferencedRowset
,
IErrorInfo
**
ppErrorInfoRem
)
{
FIXME
(
"(%p)->(%d, %s, %p, %p): stub
\n
"
,
This
,
iOrdinal
,
debugstr_guid
(
riid
),
ppReferencedRowset
,
ppErrorInfoRem
);
FIXME
(
"(%p)->(%
l
d, %s, %p, %p): stub
\n
"
,
This
,
iOrdinal
,
debugstr_guid
(
riid
),
ppReferencedRowset
,
ppErrorInfoRem
);
return
E_NOTIMPL
;
}
...
...
@@ -776,7 +776,7 @@ HRESULT CALLBACK ICommand_Execute_Proxy(ICommand* This, IUnknown *pUnkOuter, REF
if
(
pParams
)
{
FIXME
(
"Unhandled params {%p, %d, %08lx}
\n
"
,
pParams
->
pData
,
pParams
->
cParamSets
,
pParams
->
hAccessor
);
FIXME
(
"Unhandled params {%p, %
l
d, %08lx}
\n
"
,
pParams
->
pData
,
pParams
->
cParamSets
,
pParams
->
hAccessor
);
return
E_NOTIMPL
;
}
...
...
@@ -806,7 +806,7 @@ HRESULT __RPC_STUB ICommand_Execute_Stub(ICommand* This, IUnknown *pUnkOuter, RE
IUnknown
*
obj
=
NULL
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p, %s, %08lx, %
d, %p, %d, %p, %p, %
d, %p, %p, %p, %p): stub
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
TRACE
(
"(%p)->(%p, %s, %08lx, %
ld, %p, %d, %p, %p, %l
d, %p, %p, %p, %p): stub
\n
"
,
This
,
pUnkOuter
,
debugstr_guid
(
riid
),
hAccessor
,
cParamSets
,
pGuid
,
ulGuidOffset
,
pInputParams
,
pOutputParams
,
cBindings
,
rgBindings
,
rgStatus
,
pcRowsAffected
,
ppRowset
);
...
...
@@ -892,13 +892,13 @@ HRESULT __RPC_STUB ICommandText_SetCommandText_Stub(ICommandText* This, REFGUID
HRESULT
CALLBACK
IDBAsynchNotify_OnLowResource_Proxy
(
IDBAsynchNotify
*
This
,
DB_DWRESERVE
dwReserved
)
{
FIXME
(
"(%p)->(%08x): stub
\n
"
,
This
,
dwReserved
);
FIXME
(
"(%p)->(%08
l
x): stub
\n
"
,
This
,
dwReserved
);
return
E_NOTIMPL
;
}
HRESULT
__RPC_STUB
IDBAsynchNotify_OnLowResource_Stub
(
IDBAsynchNotify
*
This
,
DB_DWRESERVE
dwReserved
)
{
FIXME
(
"(%p)->(%08x): stub
\n
"
,
This
,
dwReserved
);
FIXME
(
"(%p)->(%08
l
x): stub
\n
"
,
This
,
dwReserved
);
return
E_NOTIMPL
;
}
...
...
@@ -906,7 +906,7 @@ HRESULT CALLBACK IDBAsynchNotify_OnProgress_Proxy(IDBAsynchNotify* This, HCHAPTE
DBCOUNTITEM
ulProgress
,
DBCOUNTITEM
ulProgressMax
,
DBASYNCHPHASE
eAsynchPhase
,
LPOLESTR
pwszStatusText
)
{
TRACE
(
"(%p)->(%lx, %d, %
d, %
d, %d, %s)
\n
"
,
This
,
hChapter
,
eOperation
,
ulProgress
,
ulProgressMax
,
TRACE
(
"(%p)->(%lx, %d, %
ld, %l
d, %d, %s)
\n
"
,
This
,
hChapter
,
eOperation
,
ulProgress
,
ulProgressMax
,
eAsynchPhase
,
debugstr_w
(
pwszStatusText
));
return
IDBAsynchNotify_RemoteOnProgress_Proxy
(
This
,
hChapter
,
eOperation
,
ulProgress
,
ulProgressMax
,
eAsynchPhase
,
...
...
@@ -917,7 +917,7 @@ HRESULT __RPC_STUB IDBAsynchNotify_OnProgress_Stub(IDBAsynchNotify* This, HCHAPT
DBCOUNTITEM
ulProgress
,
DBCOUNTITEM
ulProgressMax
,
DBASYNCHPHASE
eAsynchPhase
,
LPOLESTR
pwszStatusText
)
{
TRACE
(
"(%p)->(%lx, %d, %
d, %
d, %d, %s)
\n
"
,
This
,
hChapter
,
eOperation
,
ulProgress
,
ulProgressMax
,
TRACE
(
"(%p)->(%lx, %d, %
ld, %l
d, %d, %s)
\n
"
,
This
,
hChapter
,
eOperation
,
ulProgress
,
ulProgressMax
,
eAsynchPhase
,
debugstr_w
(
pwszStatusText
));
return
IDBAsynchNotify_OnProgress
(
This
,
hChapter
,
eOperation
,
ulProgress
,
ulProgressMax
,
eAsynchPhase
,
pwszStatusText
);
...
...
dlls/oledb32/convert.c
View file @
f8e71a34
...
...
@@ -163,7 +163,7 @@ static HRESULT WINAPI convert_DataConvert(IDataConvert* iface,
convert
*
This
=
impl_from_IDataConvert
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p)->(%d, %d, %
d, %p, %p, %p, %
d, %d, %p, %d, %d, %x)
\n
"
,
This
,
TRACE
(
"(%p)->(%d, %d, %
ld, %p, %p, %p, %l
d, %d, %p, %d, %d, %x)
\n
"
,
This
,
src_type
,
dst_type
,
src_len
,
dst_len
,
src
,
dst
,
dst_max_len
,
src_status
,
dst_status
,
precision
,
scale
,
flags
);
...
...
dlls/oledb32/tests/convert.c
View file @
f8e71a34
This diff is collapsed.
Click to expand it.
include/access.idl
View file @
f8e71a34
...
...
@@ -48,10 +48,10 @@ interface IAccessor : IUnknown
[
call_as
(
CreateAccessor
)
]
HRESULT
RemoteCreateAccessor
(
[
in
]
DBACCESSORFLAGS
dwAccessorFlags
,
[
in
]
DBCOUNTITEM
cBindings
,
[
in
,
unique
,
size_is
(
cBindings
)
]
DBBINDING
*
rgBindings
,
[
in
,
unique
,
size_is
(
(
ULONG
)
cBindings
)
]
DBBINDING
*
rgBindings
,
[
in
]
DBLENGTH
cbRowSize
,
[
out
]
HACCESSOR
*
phAccessor
,
[
in
,
out
,
unique
,
size_is
(
cBindings
)
]
DBBINDSTATUS
*
rgStatus
,
[
in
,
out
,
unique
,
size_is
(
(
ULONG
)
cBindings
)
]
DBBINDSTATUS
*
rgStatus
,
[
out
]
IErrorInfo
**
ppErrorInfoRem
)
;
[
local
]
...
...
@@ -64,7 +64,7 @@ interface IAccessor : IUnknown
HRESULT
RemoteGetBindings
(
[
in
]
HACCESSOR
hAccessor
,
[
out
]
DBACCESSORFLAGS
*
pdwAccessorFlags
,
[
in
,
out
]
DBCOUNTITEM
*
pcBindings
,
[
out
,
size_is
(,
*
pcBindings
)
]
DBBINDING
**
prgBindings
,
[
out
,
size_is
(,
(
ULONG
)
*
pcBindings
)
]
DBBINDING
**
prgBindings
,
[
out
]
IErrorInfo
**
ppErrorInfoRem
)
;
[
local
]
...
...
include/cmdbas.idl
View file @
f8e71a34
...
...
@@ -46,8 +46,8 @@ interface ICommand : IUnknown
[
in
,
unique
]
RMTPACK
*
pInputParams
,
[
in
,
out
,
unique
]
RMTPACK
*
pOutputParams
,
[
in
]
DBCOUNTITEM
cBindings
,
[
in
,
unique
,
size_is
(
cBindings
)
]
DBBINDING
*
rgBindings
,
[
in
,
out
,
unique
,
size_is
(
cBindings
)
]
DBSTATUS
*
rgStatus
,
[
in
,
unique
,
size_is
(
(
ULONG
)
cBindings
)
]
DBBINDING
*
rgBindings
,
[
in
,
out
,
unique
,
size_is
(
(
ULONG
)
cBindings
)
]
DBSTATUS
*
rgStatus
,
[
in
,
out
,
unique
]
DBROWCOUNT
*
pcRowsAffected
,
[
in
,
out
,
unique
,
iid_is
(
riid
)
]
IUnknown
**
ppRowset
)
;
...
...
include/oledb.idl
View file @
f8e71a34
...
...
@@ -28,18 +28,18 @@ import "ocidl.idl";
import
"propidl.idl"
;
import
"urlmon.idl"
;
typedef
ULONG
DBBYTEOFFSET
;
typedef
LONG
DBROWOFFSET
;
typedef
LONG
DBROWCOUNT
;
typedef
ULONG
DBCOUNTITEM
;
typedef
ULONG
DBLENGTH
;
typedef
ULONG
DBORDINAL
;
typedef
ULONG
DBBKMARK
;
typedef
DWORD
DB_DWRESERVE
;
typedef
ULONG
DBREFCOUNT
;
typedef
ULONG
DB_UPARAMS
;
typedef
LONG
DB_LPARAMS
;
typedef
DWORD
DBHASHVALUE
;
typedef
ULONG
_PTR
DBBYTEOFFSET
;
typedef
LONG
_PTR
DBROWOFFSET
;
typedef
LONG
_PTR
DBROWCOUNT
;
typedef
ULONG
_PTR
DBCOUNTITEM
;
typedef
ULONG
_PTR
DBLENGTH
;
typedef
ULONG
_PTR
DBORDINAL
;
typedef
ULONG
_PTR
DBBKMARK
;
typedef
DWORD
_PTR
DB_DWRESERVE
;
typedef
ULONG
_PTR
DBREFCOUNT
;
typedef
ULONG
_PTR
DB_UPARAMS
;
typedef
LONG
_PTR
DB_LPARAMS
;
typedef
DWORD
_PTR
DBHASHVALUE
;
typedef
struct
{
SHORT
year
;
USHORT
month
;
...
...
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