WSDCreateOutboundAttachment function (wsdattachment.h)
Creates an IWSDOutboundAttachment object.
Syntax
HRESULT WSDCreateOutboundAttachment(
[out] IWSDOutboundAttachment **ppAttachment
);
Parameters
[out] ppAttachment
Returns a reference to the initialized IWSDOutboundAttachment object. Cannot be NULL.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
attachmentOut is NULL. |
|
Insufficient memory to complete the operation. |
Requirements
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdattachment.h (include Wsdapi.h) |
| Library | Wsdapi.lib |
| DLL | Wsdapi.dll |