#NEWLINE# def UnpackWMNOTIFY( lparam ) : #NEWLINE# #INDENT# format = 'iii' #NEWLINE# buf = win32gui . PyMakeBuffer ( struct . calcsize ( format ) , lparam ) #NEWLINE# ( hwndFrom , idFrom , code ) = struct . unpack ( code , buf ) #NEWLINE# return ( hwndFrom , idFrom , code )