Intel 82854 GMCH, 82830M GMCH manual Programming Interface, WinCE Graphics Driver Escape Interface

Page 27

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

Image 27 Contents
Intel Digital Set Top Box Display Driver Legal Statements Contents Hardware Limitations Date Driver Description Revision HistoryThis page intentionally left blank Introduction DefinitionsDefinitions Feature Summary Base FeaturesGMCHs Surface Support 2 830 and 854 Base FeaturesDisplay Configuration Direct3D Mobile Support Display Configuration NotesVBI Support TV Encoders1 830 MSI Installation NotesInstalling the MSI Display Driver MSIRegistry Options Driver FilesConfiguration Information Display Driver OptionsDisplay Options VRWorkaroundModeDWORD AlphaBlendModeDWORDPort Driver TV Encoder DLL Options Memory Management Options BlitSyncVBI Dword 4 2D Graphics OptionsSysToVidStretch Dword BlendFilter DwordMaxBackBuffers Dword GDI OptionsVideo Options ForceGRAY16 DwordDirect3D Mobile Options Port Driver Attribute Notes Conexant Port Driver Attributes Port Driver TV Encoder DLL AttributesSilicon Image Port Driver Attributes Focus Port Driver Attributes2 854 Configuration ConfigurationDefault Configuration 1 830 Default ConfigurationEnabling 3D Support Configuration ChangesChanging the TV Format to PAL-B Changing the TV Output Type to ComponentHdmi Support Single, Shadow DVO Modes Hardware Limitations 830 Chipset Limitations854 Chipset Limitations WinCE Graphics Driver Escape Interface Programming InterfaceSummary of Supported Graphics Driver Escape Codes Input Data Structure Output Data Structure IcegdescapeenableportIcegdescapegetnumpdattributes Icegdescapegetavailpdattributes Icegdescapegetavailpdattributes IcegdescapesetpdattributesIcegdescapegetnumpdattributes Null Icegdescapesetovlcolorparams Icegdescapesetfbgammaramp Icegdescapegetmemstats Icegdescapegetmonitordesc Icegdescapevbienable Icegdescapevbidisable Icegdescapevbiupdate Sleep33 Disable vbi ExtEscape Hdc Icegdescapeinterruptinstall Icegdescapeinterruptuninstall Icegdescapesetvideoplanezorder Icegdescapesethwalphacompatmode Icegdescapedriverversion ICEGDESCAPEI2CCONFIG ICEGDESCAPEI2CACCESS Page This escape code is used to select a DVO port master/slave Icegdescapequeryhdmihotplug Null IcegdescapequeryhdmihotplugIcegdescapewaithdmihotplug Null IcegdescapewaithdmihotplugIcegdescapesetscaninfo