The ISmsMessageAttachment::CopyToBuffer method, in Configuration Manager, copies a message attachment to a buffer.

[IDL]
HRESULT CopyToBuffer(
	BYTE*  pData,
	ULONG*  pulDataLen
);

Parameters

pData


Data type: BYTEQualifiers: [out]Pointer to the data representing the message attachment.
pulDataLen


Data type: ULONGQualifiers: [in, out]Pointer to the data length, in bytes. On input, this parameter must contain the size of pData. On output, it contains the actual size of data copied.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

See Also


Send comments about this topic to Microsoft.
508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.