Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. The introduction in detail !

The introduction in detail !

Scheduled Pinned Locked Moved C / C++ / MFC
csharphelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Guoguor
    wrote on last edited by
    #1

    I use the function int ExtEscape( HDC hdc, int nEscape, int cbInput, LPCSTR lpszInData, in cbOutput, LPSTR lpszOutData ); at my program.Because of my poor English,I couldn't understand the function's introduction at Microsoft Windows CE.NET Help.Could you give me a introduction about the function and the use of it in detail? Thanks! free like a bird

    R 1 Reply Last reply
    0
    • G Guoguor

      I use the function int ExtEscape( HDC hdc, int nEscape, int cbInput, LPCSTR lpszInData, in cbOutput, LPSTR lpszOutData ); at my program.Because of my poor English,I couldn't understand the function's introduction at Microsoft Windows CE.NET Help.Could you give me a introduction about the function and the use of it in detail? Thanks! free like a bird

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      The documentation in the Platform SDK covers this in detail, but in brief this function allows you to access driver-specific functions that are not exposed by the Windows GDI. The specific device is passed to the function using its handle, hdc. The device driver function is specified by nEscape, while lpszInData is a pointer to whatever data is required as input for the function. The cbInput parameter specifies the size of the structure indicated by lpszInData in bytes. Similarly, the lpszOutData parameter is a pointer to the structure where you want the results to be stored, and cbOutput contains the size, in bytes, of this structure. ExtEscape returns a positive value if the call is successful, and 0 if the requested function doesn't exist. A negative return value indicates an error. Several predefined values exist for nEscape, primarily related to printers, but other than these you are free to specify any value supported by the target driver. "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups