Quantcast
Channel: VBForums - API
Viewing all articles
Browse latest Browse all 168

Do you need to use GlobalUnlock before using GlobalFree?

$
0
0
In the MSDN page describing ICImageCompress I see this mentioned:
Quote:

To obtain the format information from the BITMAPINFOHEADER structure, use the GlobalLock function to lock the data. Use the GlobalFree function to free the DIB when you are finished.
Nowhere does it mention the use of GlobalUnlock. Is it required to use GlobalUnlock before using GlobalFree? Or is this not required?

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>