#NEWLINE# def getformatname( format ) : #NEWLINE# #INDENT# buffer = c_buffer ( ( ' ' * 100 ) ) #NEWLINE# bufferSize = sizeof ( buffer ) #NEWLINE# OpenClipboard ( 0 ) #NEWLINE# GetClipboardFormatName ( format , buffer , bufferSize ) #NEWLINE# CloseClipboard ( ) #NEWLINE# return buffer . value