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: BYTEQualifiers: [in]Pointer to message body data in a caller-allocated buffer.
ulDataLen


Data type: ULONGQualifiers: [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

Other Resources

ISmsMessage Interface


Send comments about this topic to Microsoft.