msgs12.hlp (Topic list)
MLM_QUERYIMPORTEXPORT (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
MLM_QUERYIMPORTEXPORT
mp1 = MPFROMP((PBYTE FAR *) ppBuf);    /* pointer to buffer      */
mp2 = MPFROMP((PUSHORT) pcbBuf);       /* pointer to buffer size */
 
An application sends an MLM_QUERYIMPORTEXPORT message to determine the
address and size of the buffer used by the import/export buffer of a
multiple-line entry field (MLE). The buffer must have been set previously by
sending an MLM_SETIMPORTEXPORT message (or the returned parameters will be
invalid).
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
ppBuf      Low and high word of mp1. Points to the variable that receives
           the address of the import/export buffer.
 
pcbBuf     Low word of mp2. Points to the variable that receives the size of
           the buffer pointed to by ppBuf.
 
Return Value
 
The return value is always TRUE.
 
Comments
 
The import/export buffer can be used to import to and export text from the
MLE by using the MLM_IMPORT and MLM_EXPORT messages.
 
See Also
 
MLM_EXPORT, MLM_IMPORT, MLM_SETIMPORTEXPORT