Win32 APIs
IT & Infrastructure
2
Posts
2
Posters
0
Views
1
Watching
-
-
Does anyone know if it's possible to use win32 apis in visual basic or visual c++ to copy information from the clipboard and then paste it into a floppy disk and vice versa? I would really appreciate any input that anyone has on this topic. Thanks.:)
You can use EnumClipbaordFormats, then when you find a format that you are interested in you can use GetClipboardData. As far as writing the data to the Floppy drive, just Create a file on the A: with CreateFile, then call WriteFile to write the data that you received from the clipboard, and CLoseHandle, to close the file when you are done.