WS_WRITE_CALLBACK function

Used by the WS_XML_WRITER function to write a specified buffer to a user-determined destination.

Syntax


void WS_WRITE_CALLBACK(
  _In_           void              *callbackState,
           const  WS_BYTES         *buffers,
  _In_           ULONG             count,
  _In_opt_ const  WS_ASYNC_CONTEXT *asyncContext,
  _In_opt_       WS_ERROR          *error
);

Parameters

callbackState [in]

A void pointer to the user-defined state value that was passed to the function that accepted this callback.

buffers

A pointer to the buffers containing the data to be written.

count [in]

The number of buffers to write.

asyncContext [in, optional]

A pointer to a WS_ASYNC_CONTEXT structure containing information on how to invoke the function asynchronously. Assigned NULL if invoking synchronously.

error [in, optional]

A pointer to a WS_ERROR data structure where additional error information should be stored if the function fails.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

 

 

Community Additions

ADD
Show: