I am using ctype to insert both ascii and unicode data to win32 ListView Control , using the following structure
class LV_ITEM(Structure):
_fields_ = [('mask', c_uint),
('iItem', c_int),
('iSubItem', c_int),
('state', c_uint),
('stateMask', c_uint),
# ('pszText', c_char_p), # for ascii data
('pszText', c_wchar_p), # for unicode data...
2008-11-10 01:10:43 UTC in ctypes