Intel 82854 GMCH, 82830M GMCH manual Icegdescapeinterruptuninstall

Models: 82830M GMCH 82854 GMCH

1 53
Download 53 pages 23.44 Kb
Page 43
Image 43

7.1.1.13ICEGD_ESCAPE_INTERRUPT_UNINSTALL

Input Data Structure

Output Data Structure

Notes

Escape_interrupt_data

N/A

Description

This escape code is used to un-install an interrupt.

Example

escape_interrupt_data interrupt;

memset(&interrupt, 0, sizeof(escape_interrupt_data)); interrupt.unInterrupt = ESCAPE_INTERRUPT_VBLANK; //install an interrupt

ExtEscape(

Hdc,

ICEGD_ESCAPE_INTERRUPT_INSTALL, sizeof(escape_interrupt_data), (LPCSTR)&interrupt,

0, NULL );

//if an interrupt occurs, catch it and inform user if(WaitForSingleObject(interrupt.hWaitObject, 2000)==WAIT_OBJECT_0){

printf("Get a interrupt!\n");

}

//unstall the interrupt ExtEscape(

Hdc,

ICEGD_ESCAPE_INTERRUPT_UNINSTALL, sizeof(escape_interrupt_data), (LPCSTR)&interrupt,

0, NULL );

Intel® Digital Set Top Box Display Driver

43

User’s Guide for Microsoft* Windows* CE 5.0

Page 43
Image 43
Intel 82854 GMCH, 82830M GMCH manual Icegdescapeinterruptuninstall