MB_OKCXL = 1
MB_YESNOCXL = 3
MB_YESNO = 4
MB_HELP = 16384
ICON_EXLAIM = 48
ICON_INFO = 64
ICON_STOP = 16
result = ctypes.windll.user32.MessageBoxA(0, 'Your text?', 'Your title', 
    MB_HELP | MB_YESNO | ICON_STOP)
Python MessageBox with Icons using ctypes and windll