#NEWLINE# @ Kernel32Proxy ( 'OpenThread' ) #NEWLINE# def OpenThread( dwDesiredAccess = THREAD_ALL_ACCESS , bInheritHandle = 0 , dwThreadId = NeededParameter ) : #NEWLINE# #INDENT# return OpenThread . ctypes_function ( dwDesiredAccess , bInheritHandle , dwThreadId )