Partager via


IWSDInboundAttachment::Close (Windows Embedded CE 6.0)

1/6/2010

This method closes the current attachment MIME data stream.

Syntax

HRESULT Close();

Parameters

This method has no parameters.

Return Value

The following table shows the possible error code return values.

Error code Description

S_OK

This method completed successfully.

Remarks

This method can be used to terminate the transfer of an incoming attachment while the transfer is in progress.

If the IWSDInboundAttachment::Read method completed successfully with a return value of S_OK, then it is not necessary to call Close to terminate the session. Instead, call Release() on the IWSDInboundAttachment interface.

Requirements

Header wsdapi.h
Library wsdapi.lib
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDInboundAttachment
Web Services on Devices Interfaces