Skip to content

Latest commit

 

History

History
108 lines (84 loc) · 3.29 KB

nf-wsdattachment-iwsdoutboundattachment-abort.md

File metadata and controls

108 lines (84 loc) · 3.29 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wsdattachment.IWSDOutboundAttachment.Abort
IWSDOutboundAttachment::Abort (wsdattachment.h)
Aborts the transfer of data on the attachment MIME data stream.
Abort
Abort method
Abort method
IWSDOutboundAttachment interface
IWSDOutboundAttachment interface
Abort method
IWSDOutboundAttachment.Abort
IWSDOutboundAttachment::Abort
ncd.iwsdoutboundattachment_abort
wsdattachment/IWSDOutboundAttachment::Abort
ncd\iwsdoutboundattachment_abort.htm
ncd
add0160c-bbf7-446e-8592-a05fd4d16fac
12/05/2018
Abort, Abort method, Abort method,IWSDOutboundAttachment interface, IWSDOutboundAttachment interface,Abort method, IWSDOutboundAttachment.Abort, IWSDOutboundAttachment::Abort, ncd.iwsdoutboundattachment_abort, wsdattachment/IWSDOutboundAttachment::Abort
wsdattachment.h
Wsdapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
WsdAttachment.idl
Wsdapi.dll
Windows
19H1
IWSDOutboundAttachment::Abort
wsdattachment/IWSDOutboundAttachment::Abort
c++
APIRef
kbSyntax
COM
Wsdapi.dll
IWSDOutboundAttachment.Abort

IWSDOutboundAttachment::Abort

-description

Aborts the transfer of data on the attachment MIME data stream. When Abort is called, any pending data may be discarded.

-returns

Possible return values include, but are not limited to, the following:

Return code Description
S_OK
Method completed successfully.
HRESULT_FROM_WIN32(ERROR_INVALID_OPERATION)

Abort was called before Write was called. You must call Write before terminating the attachment stream.

-remarks

The Abort method may be called when a Close or Write method call failed with the error STG_S_BLOCK.

Close must not be called once Abort has been called on an attachment stream.

-see-also

IWSDOutboundAttachment

IWSDOutboundAttachment::Close

IWSDOutboundAttachment::Write