Icegd_escape_set_pd_attributes, 4 icegd_escape_set_pd_attributes – Intel 82854 GMCH User Manual

Page 32

Advertising
background image

32

Intel® Digital Set Top Box Display Driver

User’s Guide for Microsoft* Windows* CE 5.0

7.1.1.4 ICEGD_ESCAPE_SET_PD_ATTRIBUTES

Input Data Structure

Output Data Structure

Notes

igd_attr_t

N/A

Only a single attribute can be set per call.

Description

This escape code is used to set Port Driver attributes. It is always called after the attribute list filled by
ICEGD_ESCAPE_GET_AVAIL_PD_ATTRIBUTES.

The attribute list is different between different cards. If you want to make sure whether the attribute could be
supported by the card, you can use ICEGD_ESCAPE_GET_AVAIL_PD_ATTRIBUTES to get the supported
attribute list and check with it.

String attributes are read only.

Example

Please refer to the following instructions for modify example code below for other PD
attribute types at the place holder with the marks about // (1) (2) (3)

/* if the type is PD_ATTR_TYPE_LIST, the lines with (//(1), (2) and (3)) should be
replaced as below:
igd_list_attr_t *list;

(1)

list = (igd_list_attr_t *) current;

(2

)

list->current_index = 2; (3

)


if the type is PD_ATTR_TYPE_BOOL, the lines with (//(1), (2) and (3)) should be
replaced as below:

igd_bool_attr_t *bool; (1)

bool = (igd_bool_attr_t *) current; (2)

bool->current_value = arg_attr_value; (3)

*/

Advertising
This manual is related to the following products: