![](/images/new-backgrounds/1127461/12746153x1.webp)
7Programming Interface
7.1WinCE Graphics Driver Escape Interface
The Intel® Digital Set Top Box Graphics Driver for Microsoft Windows CE .NET 4.2/5.0 supports the WinCE system API - ExtEscape(), which provides a dynamic configuration channel to the display driver.
Following shows the ExtEscape API function prototype and the usage module for the user application to communicate with the display driver.
ExtEscape(
HDC <Handle to graphic device context>,
int <Escape Code supported by the display driver>
Note: see below table of the list of the supported escape codes by the display
driver
int <size of the escape code specific input data structure by number of bytes>,
LPCSTR <pointer of input data buffer of BYTE>
Note: Please note that LPCSTR does not imply the input data buffer is anything related to “string”, which means a long constant pointer of char (BYTE) buffer. User need convert the escape code specific input data structure pointer to LPCSTR
int <size of the escape code specific output data structure by number of bytes>,
LPSTR <pointer of input data buffer of BYTE - “Input Data Structure”>
Note: Similar like LPCSTR, LPSTR does not imply the output data buffer is anything related to “string”, which means a long pointer of char (BYTE) buffer. User need convert the escape code specific output data structure pointer to LPSTR.
);
After the Graphics driver is installed, three *.h files (icegd_public_escape.h, igd_pd.h and
igd_public.h) can be found under the directory: \WINCE500\IntelCEG\Drivers\Display\I8xx\Extras\Src\Inc.
The file video.reg can be found under the directory: \WINCE500\IntelCEG\Drivers\Display\I8xx.
Intel® Digital Set Top Box Display Driver | 27 |
User’s Guide for Microsoft* Windows* CE 5.0