mirror of
https://github.com/reactos/reactos.git
synced 2025-08-08 16:03:27 +00:00
[MSPAINT] Prepare for debugging (#4257)
- Add #include <debug.h> and add link to ntdll.dll for debugging. - Add CopyDIBImage helper function. CORE-17969
This commit is contained in:
parent
48d1a7bf4d
commit
b2f8d62cd1
6 changed files with 22 additions and 12 deletions
|
@ -11,6 +11,11 @@
|
|||
HBITMAP CreateDIBWithProperties(int width, int height);
|
||||
HBITMAP CreateColorDIB(int width, int height, COLORREF rgb);
|
||||
|
||||
static inline HBITMAP CopyDIBImage(HBITMAP hbm, INT cx = 0, INT cy = 0)
|
||||
{
|
||||
return (HBITMAP)CopyImage(hbm, IMAGE_BITMAP, cx, cy, LR_COPYRETURNORG | LR_CREATEDIBSECTION);
|
||||
}
|
||||
|
||||
int GetDIBWidth(HBITMAP hbm);
|
||||
|
||||
int GetDIBHeight(HBITMAP hbm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue