Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
Description
Using the ClipbrdTest.exe program from CORE-14770 and running it before and after hitting the PrntScrn key on Win2K3SP2 shows that a CF_BITMAP and a CF_DIB entry are both created when the key is hit. ReactOS only creates the CF_BITMAP data and shows errors when it tries to create the CF_DIB formatted data as can be seen in CORE-17307. The attached patch fixes this for me. I do not know of any programs that are affected by this failing.
I created a program Clipboard Read DIB (crdib.exe) that is attached and it reads the clipboard CF_DIB data and writes it out to a "test.bmp" file in the same directory as the program for testing this function. It works well in W2K3SP2 and failed in ReactOS. After this patch now it works fine.
I plan to create a PR for this soon.
Attachments
Issue Links
- is duplicated by
-
CORE-17307 Print screen leads to Out of memory
- Resolved