Share via


ISmsMessageAttachment::CopyToBuffer Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: BYTE

    Qualifiers: [out]

    Pointer to the data representing the message attachment.

  • pulDataLen
    Data type: ULONG

    Qualifiers: [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

Concepts

ISmsMessageAttachment Interface