flat assembler
Message board for the users of flat assembler.

Index > Windows > What does function DrawEscape?

Author
Thread Post new topic Reply to topic
A$M



Joined: 29 Feb 2012
Posts: 94
A$M 15 Apr 2014, 18:07
Hi.
I don't know what's this function: http://msdn.microsoft.com/en-us/library/windows/desktop/dd162478
I only know this: "The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI)."
But why and how I would use it? Can you give me a example code?

Thanks.
Post 15 Apr 2014, 18:07
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 15 Apr 2014, 18:11
Quote:
Remarks

When an application calls the DrawEscape function, the data identified by cbInput and lpszInData is passed directly to the specified display driver.


Read the remarks. The format of cbInput is not clear. Maybe it is described elsewhere, or is device specific...
Post 15 Apr 2014, 18:11
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 15 Apr 2014, 20:28
A$M,

There are dozens of printer-related escapes defined in WinGDI.h. I don't know whether escapes are implemented in particular video drivers (you may look here for the short explanation of the mechanics under the hood, search for "display driver escape codes" mini-chapter), yet WinCE MSDN reference contains some promising escape codes you may wish to QUERYESCSUPPORT for.
Post 15 Apr 2014, 20:28
View user's profile Send private message Reply with quote
A$M



Joined: 29 Feb 2012
Posts: 94
A$M 16 Apr 2014, 16:55
Thanks.
Post 16 Apr 2014, 16:55
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.