in reply to Windows Clipboard

I'm curious why you are trying to use Win32::API instead of Win32::Clipboard?