Current File : //opt/imh-python/lib/python2.7/test/win_console_handler.pyc
�
��Wc@s
dZddlmZmZddlZddlZddlZddlZeejej�Z	d�Z
e	e
�Zejj
jZe	ejfe_eje_edkreed�s�dGHed�nejddejd�Zded	<x
erq�WndS(
sYScript used to test os.kill on Windows, for issue #1220212

This script is started as a subprocess in test_os and is used to test the
CTRL_C_EVENT and CTRL_BREAK_EVENT signals, which requires a custom handler
to be written into the kill target.

See http://msdn.microsoft.com/en-us/library/ms685049%28v=VS.85%29.aspx for a
similar example in C.
i����(twintypestWINFUNCTYPENcCs-|tjkrn|tjkr$ndGHdS(s8Handle a sig event and return 0 to terminate the processs
UNKNOWN EVENTi(tsignaltCTRL_C_EVENTtCTRL_BREAK_EVENT(tsig((sq/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/win_console_handler.pyt
_ctrl_handlerst__main__is#Unable to add SetConsoleCtrlHandlert1i(t__doc__tctypesRRRtmmaptsystBOOLtDWORDtHandlerRoutineRtctrl_handlertwindlltkernel32tSetConsoleCtrlHandlertargtypestrestypet__name__texittargvtmtTrue(((sq/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/win_console_handler.pyt<module>	s&