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
7b16d186
Commit
7b16d186
authored
Sep 16, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Sep 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webservices: Implement WsFillReader.
parent
8bef9352
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
reader.c
dlls/webservices/reader.c
+22
-0
webservices.spec
dlls/webservices/webservices.spec
+1
-1
No files found.
dlls/webservices/reader.c
View file @
7b16d186
...
...
@@ -336,6 +336,8 @@ reader_props[] =
struct
reader
{
ULONG
read_size
;
ULONG
read_pos
;
struct
list
nodes
;
struct
node
*
current
;
const
char
*
input_data
;
...
...
@@ -446,6 +448,26 @@ void WINAPI WsFreeReader( WS_XML_READER *handle )
}
/**************************************************************************
* WsFillReader [webservices.@]
*/
HRESULT
WINAPI
WsFillReader
(
WS_XML_READER
*
handle
,
ULONG
min_size
,
const
WS_ASYNC_CONTEXT
*
ctx
,
WS_ERROR
*
error
)
{
struct
reader
*
reader
=
(
struct
reader
*
)
handle
;
TRACE
(
"%p %u %p %p
\n
"
,
handle
,
min_size
,
ctx
,
error
);
if
(
error
)
FIXME
(
"ignoring error parameter
\n
"
);
if
(
!
reader
)
return
E_INVALIDARG
;
/* FIXME: add support for stream input */
reader
->
read_size
=
min
(
min_size
,
reader
->
input_size
);
reader
->
read_pos
=
0
;
return
S_OK
;
}
/**************************************************************************
* WsGetErrorProperty [webservices.@]
*/
HRESULT
WINAPI
WsGetErrorProperty
(
WS_ERROR
*
handle
,
WS_ERROR_PROPERTY_ID
id
,
void
*
buf
,
...
...
dlls/webservices/webservices.spec
View file @
7b16d186
...
...
@@ -44,7 +44,7 @@
@ stub WsEndWriterCanonicalization
@ stub WsFileTimeToDateTime
@ stub WsFillBody
@ st
ub WsFillReader
@ st
dcall WsFillReader(ptr long ptr ptr)
@ stub WsFindAttribute
@ stub WsFlushBody
@ stub WsFlushWriter
...
...
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