Partager via


ISmsMessage::SetBodyFromBuffer 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 ISmsMessage::SetBodyFromBuffer method sets the body of the message from a byte buffer.

[IDL]
HRESULT SetBodyFromBuffer(
      const BYTE* pData,
      ULONG ulDataLen
); 

Parameters

  • pData
    Data type: BYTE

    Qualifiers: [in]

    Pointer to message body data in a caller-allocated buffer.

  • ulDataLen
    Data type: ULONG

    Qualifiers: [in]

    Length, in bytes, of the pData buffer.

Return Values

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

  • S_OK
    The method succeeded.

See Also

Concepts

ISmsMessage Interface