Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Accesses drawing capabilities of a video display that are not directly available through the graphics device interface (GDI).

int DrawEscape( 
   int nEscape, 
   int nInputSize, 
   LPCSTR lpszInputData  


Specifies the escape function to be performed.


Specifies the number of bytes of data pointed to by the lpszInputData parameter.


Points to the input structure required for the specified escape.

Specifies the outcome of the function. Greater than zero if successful, except for the QUERYESCSUPPORT draw escape, which checks for implementation only; or zero if the escape is not implemented; or less than zero if an error occurred.

When an application calls DrawEscape, the data identified by nInputSize and lpszInputData is passed directly to the specified display driver.

Header: afxwin.h

© 2015 Microsoft