Jump to content

MLM SETIMPORTEXPORT

From EDM2
Revision as of 18:56, 25 April 2025 by Martini (talk | contribs) (Created page with "This message sets the current transfer buffer. ==Syntax== <pre> param1 PCHAR pBuff; Transfer buffer.: param2 ULONG ulLength; Size of transfer buffer in bytes.: </pre> ==Parameters== ;pBuff (PCHAR) - input: Transfer buffer. ;ulLength (ULONG) - input: Size of transfer buffer in bytes. ==Returns== ;rc (BOOL) - return: Success indicator. ::TRUE: Successful completion. ::FALSE: An error occurred. ==Remarks=== Given a far pointer to a buffer, and the si...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message sets the current transfer buffer.

Syntax

param1
PCHAR pBuff;     /* Transfer buffer. */

param2
ULONG ulLength;  /* Size of transfer buffer in bytes. */

Parameters

pBuff (PCHAR) - input
Transfer buffer.
ulLength (ULONG) - input
Size of transfer buffer in bytes.

Returns

rc (BOOL) - return
Success indicator.
TRUE: Successful completion.
FALSE: An error occurred.

Remarks=

Given a far pointer to a buffer, and the size of the buffer, this message sets it as the current transfer buffer for the MLE. This buffer is used by the MLM_IMPORT and MLM_EXPORT messages. The system segment limit must be observed when specifying the buffer size.

Default Processing

The default window procedure takes no action on this message, other than to set rc to FALSE.