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
9d1ddfaa
Commit
9d1ddfaa
authored
Aug 24, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Aug 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msdaps: Implement IDBProperties_SetProperties proxy and stub.
parent
27f087e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
5 deletions
+45
-5
Makefile.in
dlls/msdaps/Makefile.in
+1
-1
usrmarshal.c
dlls/msdaps/usrmarshal.c
+44
-4
No files found.
dlls/msdaps/Makefile.in
View file @
9d1ddfaa
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
msdaps.dll
IMPORTS
=
oleaut32 rpcrt4 kernel32 ntdll
IMPORTS
=
oleaut32
ole32
rpcrt4 kernel32 ntdll
EXTRADEFS
=
-DREGISTER_PROXY_DLL
-DPROXY_CLSID_IS
=
"{ 0x06210e88, 0x01f5, 0x11d1, { 0xb5, 0x12, 0x00, 0x80, 0xc7, 0x81, 0xc3, 0x84 } }"
EXTRA_OBJS
=
dlldata.o
...
...
dlls/msdaps/usrmarshal.c
View file @
9d1ddfaa
...
...
@@ -108,16 +108,56 @@ HRESULT __RPC_STUB IDBProperties_GetPropertyInfo_Stub(IDBProperties* This, ULONG
HRESULT
CALLBACK
IDBProperties_SetProperties_Proxy
(
IDBProperties
*
This
,
ULONG
cPropertySets
,
DBPROPSET
rgPropertySets
[])
{
FIXME
(
"(%p, %d, %p): stub
\n
"
,
This
,
cPropertySets
,
rgPropertySets
);
return
E_NOTIMPL
;
ULONG
prop_set
,
prop
,
total_props
=
0
;
HRESULT
hr
;
IErrorInfo
*
error
;
DBPROPSTATUS
*
status
;
TRACE
(
"(%p, %d, %p)
\n
"
,
This
,
cPropertySets
,
rgPropertySets
);
for
(
prop_set
=
0
;
prop_set
<
cPropertySets
;
prop_set
++
)
total_props
+=
rgPropertySets
[
prop_set
].
cProperties
;
if
(
total_props
==
0
)
return
S_OK
;
status
=
CoTaskMemAlloc
(
total_props
*
sizeof
(
*
status
));
if
(
!
status
)
return
E_OUTOFMEMORY
;
hr
=
IDBProperties_RemoteSetProperties_Proxy
(
This
,
cPropertySets
,
rgPropertySets
,
total_props
,
status
,
&
error
);
if
(
error
)
{
SetErrorInfo
(
0
,
error
);
IErrorInfo_Release
(
error
);
}
total_props
=
0
;
for
(
prop_set
=
0
;
prop_set
<
cPropertySets
;
prop_set
++
)
for
(
prop
=
0
;
prop
<
rgPropertySets
[
prop_set
].
cProperties
;
prop
++
)
rgPropertySets
[
prop_set
].
rgProperties
[
prop
].
dwStatus
=
status
[
total_props
++
];
CoTaskMemFree
(
status
);
return
hr
;
}
HRESULT
__RPC_STUB
IDBProperties_SetProperties_Stub
(
IDBProperties
*
This
,
ULONG
cPropertySets
,
DBPROPSET
*
rgPropertySets
,
ULONG
cTotalProps
,
DBPROPSTATUS
*
rgPropStatus
,
IErrorInfo
**
ppErrorInfoRem
)
{
FIXME
(
"(%p, %d, %p, %d, %p, %p): stub
\n
"
,
This
,
cPropertySets
,
rgPropertySets
,
cTotalProps
,
ULONG
prop_set
,
prop
,
total_props
=
0
;
HRESULT
hr
;
TRACE
(
"(%p, %d, %p, %d, %p, %p)
\n
"
,
This
,
cPropertySets
,
rgPropertySets
,
cTotalProps
,
rgPropStatus
,
ppErrorInfoRem
);
return
E_NOTIMPL
;
*
ppErrorInfoRem
=
NULL
;
hr
=
IDBProperties_SetProperties
(
This
,
cPropertySets
,
rgPropertySets
);
if
(
FAILED
(
hr
))
GetErrorInfo
(
0
,
ppErrorInfoRem
);
for
(
prop_set
=
0
;
prop_set
<
cPropertySets
;
prop_set
++
)
for
(
prop
=
0
;
prop
<
rgPropertySets
[
prop_set
].
cProperties
;
prop
++
)
rgPropStatus
[
total_props
++
]
=
rgPropertySets
[
prop_set
].
rgProperties
[
prop
].
dwStatus
;
return
hr
;
}
HRESULT
CALLBACK
IDBInitialize_Initialize_Proxy
(
IDBInitialize
*
This
)
...
...
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