CDC::DrawEscape

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 
);

Parameters

  • nEscape
    Specifies the escape function to be performed.

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

  • lpszInputData
    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.

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

CDC::Escape

DrawEscape

Other Resources

CDC Members