![](/images/new-backgrounds/1127461/12746185x1.webp)
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
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