please dont rip this site Prev Next

ExtEscape info  Overview  Group

The ExtEscape function allows applications to access capabilities of a particular device that are not available through GDI.

int ExtEscape(

    HDC hdc,

// handle to device context

    int nEscape,

// escape function

    int cbInput,

// number of bytes in input structure

    LPCSTR lpszInData,

// pointer to input structure

    int cbOutput,

// number of bytes in output structure

    LPSTR lpszOutData 

// pointer to output structure

   );

Parameters

hdc
Identifies the device context.
nEscape
Specifies the escape function to be performed.
cbInput
Specifies the number of bytes of data pointed to by the lpszInData parameter.
lpszInData
Points to the input structure required for the specified escape.
cbOutput
Specifies the number of bytes of data pointed to by the lpszOutData parameter.
lpszOutData
Points to the structure that receives output from this escape. This parameter must not be NULL if ExtEscape is called as a query function. If no data is to be returned in this structure, set cbOutput to 0.

Return Values

The return value specifies the outcome of the function. It is greater than zero if the function is successful, except for the QUERYESCSUPPORT printer escape, which checks for implementation only. The return value is zero if the escape is not implemented. A return value less than zero indicates an error. To get extended error information, call GetLastError.

Remarks

Use this function to pass a driver-defined escape value to a device.

Use the Escape function to pass one of the escape values defined by Windows to a device. ExtEscape might not work properly with the escapes defined by Windows. In particular, escapes in which lpszInData points to a structure that contains a member that is a pointer will fail.

See Also

Escape, GetDeviceCaps


file: /Techref/os/win/api/win32/func/src/f23_5.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/24 00:48,
TOP NEW HELP FIND: 
3.147.62.5:LOG IN

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f23_5.htm"> ExtEscape</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .