EasyManua.ls Logo

Intel 82830M GMCH - Page 29

Intel 82830M GMCH
53 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Intel® Digital Set Top Box Display Driver 29
User’s Guide for Microsoft* Windows* CE 5.0
7.1.1.1 ICEGD_ESCAPE_ENABLE_PORT
Input Data Structure Output Data Structure Notes
esc_port_ctrl_t esc_status_t
esc_port_ctrl_t port options:
0 – Primary Display
1 – Secondary Display
esc_port_ctrl_t enable options:
0 – disable
1 – enable
esc_status_t status options:
0 – ESCAPE_STATUS_NOERROR
1 – ESCAPE_STATUS_ERROR
Description
This escape code is used to enable/disable primary/secondary display port.
Input Data Structure Definition
The data structure esc_port_ctrl_t should be filled in with port number (0 or 1) and enable (1) /disable (0)
value to configure which port (0 or 1) to be enabled or disabled.
Output Data Structure Definition
User can get return success value or error code from esc_status_t;
Example
esc_port_ctrl_t port;
memset(&port, 0, sizeof(esc_port_ctrl_t));
//choose primary display
port.port = 0;
//enable display port 0
port.enable = 1;
esc_status_t status;
memset(&status, 0, sizeof(esc_status_t));
ExtEscape(
Hdc,
ICEGD_ESCAPE_ENABLE_PORT,
sizeof(esc_port_ctrl_t),
(LPCSTR)&port,
sizeof(esc_status_t),
(LPSTR)&status);
// check the status here for error handling
// …