JCL Help:ReadMessageData

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the data from a JclAppInstance IPC message.


Pascal

 procedure ReadMessageData(const Message: TMessage; var Data: Pointer; var Size: Integer);


Parameters

Parameters Description
const Message: TMessage The message to extract the data from.
var Data: Pointer Returns the data buffer. This buffer is allocated by the function and must be released by the caller.
var Size: Integer Returns the size of the data buffer.


Description

ReadMessageData returns the data encapsulated in the message which is assumed to be a JclAppInstance IPC message send by one of the TJclAppInstance.SendXxx methods. You can use ReadMessageCheck to determine the kind of data the message contains.


See Also

ReadMessageCheck ReadMessageString ReadMessageStrings


About

Unit

JclAppInst


Donator

Petr Vones


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page