The introduction in detail !
-
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
-
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
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