Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
RenderSelection
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
DWORD RenderSelection(lpPntStruc, wParam, lParam)
LPEXTPAINTSTRUC lpPntStruc;
WORD wParam;
DWORD lParam;
 
The RenderSelection function transforms the selection into the clipboard
format.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
 
lpPntStruc  Points to an EXTPAINTSTRUC structure.
 
wParam      Specifies the 16-bit message parameter. It is -1 if WINOLDAP
            origin.
 
lParam      Specifies the 32-bit message parameter. It is zero if WINOLDAP
            origin.
 
Return Value
 
The return value is a 32-bit value that specifies the clipboard format and
the handle for the rendered selection. The high-order 16 bits specifies the
clipboard format used (either CF_OEMTEXT or CF_BITMAP). The low-order 16
bits is a memory or bitmap handle, depending on the clipboard format.
 
The return value is zero in the high-order 16 bits if there is no selection.
The return value is a negative value in the high-order 16 bits if the
function could not transform the selection.
 
Comments
 
The export ordinal for this function is 7.
 
See Also
 
EXTPAINTSTRUC