|
I want to get data from the clipboard. The data type returned by GetClipboardData () is void *, how do I know its length?
I only deal with bitmaps, HBITMAP hBitmap = (HBITMAP) GetClipboardData (CF_BITMAP); If you can find the length of hBitmap, you can.
Note that it is the length of the hBitmap, not the data structure, don't tell me it is sizeof (HBITMAP) |
|