This documentation is archived and is not being maintained.


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.

Return Value

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.

See Also

CDC Overview | Class Members | Hierarchy Chart | CDC::Escape | DrawEscape