Intel 82830M GMCH Satellite TV System User Manual


 
Intel® Digital Set Top Box Display Driver 43
User’s Guide for Microsoft* Windows* CE 5.0
7.1.1.13 ICEGD_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
);