Icegd_escape_query_hdmi_hotplug, 20 icegd_escape_query_hdmi_hotplug – Intel 82854 GMCH User Manual

Page 51

Advertising
background image

Intel® Digital Set Top Box Display Driver

51

User’s Guide for Microsoft* Windows* CE 5.0

7.1.1.20 ICEGD_ESCAPE_QUERY_HDMI_HOTPLUG

Input Data Structure

Output Data Structure

Notes

N/A esc_enum_hotplug_status

ESC_HDMI_PLUG_IN :

ESC_HDMI_PLUG_OUT

Description

This escape code is used to query the HDMI hotplug status.

Output Data Structure Definition

If the HDMI is plugged in, return ESC_HDMI_PLUG_IN, else, return ESC_HDMI_PLUG_OUT.

Example

esc_enum_hotplug_status status ;
ExtEscape(
hDC,
ICEGD_ESCAPE_QUERY_HDMI_HOTPLUG,
0,
NULL,
sizeof(esc_enum_hotplug_status) ,
(LPSTR)&status
);
if(status == ESC_HDMI_PLUG_IN)
_tprintf(_T(" Status: IN\n"));
else if(status == ESC_HDMI_PLUG_OUT)
_tprintf(_T(" Status: OUT\n"));
else
_tprintf(_T(" Invalid Hotplug Status.\n"));

Advertising
This manual is related to the following products: