Partager via


WSDCreateOutboundAttachment (Compact 2013)

3/26/2014

This function creates an IWSDOutboundAttachment object by calling COM CoCreateInstance.

Syntax

HRESULT WSDCreateOutboundAttachment (
  IWSDOutboundAttachment** attachmentOut
);

Parameters

  • attachmentOut
    [out] Returns a reference to the initialized IWSDOutboundAttachment object. Cannot be NULL.

Return Value

The following table shows the possible error code return values.

Error Code

Description

S_OK

The function succeeded.

E_POINTER

attachmentOut is NULL.

E_OUTOFMEMORY

Insufficient memory to complete the operation.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Functions
Web Services on Devices Reference