DWORD RenderSelection(lpPntStruc, wParam, lParam) | |||
LPEXTPAINTSTRUC lpPntStruc; | |||
WORD wParam; | |||
DWORD lParam; |
The RenderSelection function transforms the selection into the clipboard format.
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.
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.
The export ordinal for this function is 7.