The DrawEscape function accesses drawing capabilities of a video display that are not directly available through the graphics device interface (GDI).
int DrawEscape(
HDC hdc, |
// handle to device context |
int nEscape, |
// specifies escape function |
int cbInput, |
// size of structure for input |
LPCSTR lpszInData |
// pointer to structure for input |
); |
The return value specifies the outcome of the function. It is greater than zero if the function is successful, except for the QUERYESCSUPPORT draw escape, which checks for implementation only. The return value is zero if the escape is not implemented. The return value is less than zero if an error occurred. To get extended error information, call GetLastError.
When an application calls the DrawEscape function, the data identified by cbInput and lpszInData is passed directly to the specified display driver.
file: /Techref/os/win/api/win32/func/src/f17_18.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/8 14:12,
3.137.217.242:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f17_18.htm"> DrawEscape</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.