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
6d87b248
Commit
6d87b248
authored
Jun 15, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Implement WsGetMessageProperty and WsSetMessageProperty.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
33cebe51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
msg.c
dlls/webservices/msg.c
+28
-0
webservices.spec
dlls/webservices/webservices.spec
+2
-2
No files found.
dlls/webservices/msg.c
View file @
6d87b248
...
...
@@ -126,3 +126,31 @@ void WINAPI WsFreeMessage( WS_MESSAGE *handle )
TRACE
(
"%p
\n
"
,
handle
);
free_msg
(
msg
);
}
/**************************************************************************
* WsGetMessageProperty [webservices.@]
*/
HRESULT
WINAPI
WsGetMessageProperty
(
WS_MESSAGE
*
handle
,
WS_MESSAGE_PROPERTY_ID
id
,
void
*
buf
,
ULONG
size
,
WS_ERROR
*
error
)
{
struct
msg
*
msg
=
(
struct
msg
*
)
handle
;
TRACE
(
"%p %u %p %u %p
\n
"
,
handle
,
id
,
buf
,
size
,
error
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
return
prop_get
(
msg
->
prop
,
msg
->
prop_count
,
id
,
buf
,
size
);
}
/**************************************************************************
* WsSetMessageProperty [webservices.@]
*/
HRESULT
WINAPI
WsSetMessageProperty
(
WS_MESSAGE
*
handle
,
WS_MESSAGE_PROPERTY_ID
id
,
const
void
*
value
,
ULONG
size
,
WS_ERROR
*
error
)
{
struct
msg
*
msg
=
(
struct
msg
*
)
handle
;
TRACE
(
"%p %u %p %u
\n
"
,
handle
,
id
,
value
,
size
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
return
prop_set
(
msg
->
prop
,
msg
->
prop_count
,
id
,
value
,
size
);
}
dlls/webservices/webservices.spec
View file @
6d87b248
...
...
@@ -71,7 +71,7 @@
@ stdcall WsGetHeapProperty(ptr long ptr long ptr)
@ stub WsGetListenerProperty
@ stub WsGetMappedHeader
@ st
ub WsGetMessageProperty
@ st
dcall WsGetMessageProperty(ptr long ptr long ptr)
@ stub WsGetMetadataEndpoints
@ stub WsGetMetadataProperty
@ stub WsGetMissingMetadataDocumentAddress
...
...
@@ -153,7 +153,7 @@
@ stdcall WsSetInput(ptr ptr ptr ptr long ptr)
@ stdcall WsSetInputToBuffer(ptr ptr ptr long ptr)
@ stub WsSetListenerProperty
@ st
ub WsSetMessageProperty
@ st
dcall WsSetMessageProperty(ptr long ptr long ptr)
@ stdcall WsSetOutput(ptr ptr ptr ptr long ptr)
@ stdcall WsSetOutputToBuffer(ptr ptr ptr long ptr)
@ stub WsSetReaderPosition
...
...
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