CopyImage function user32
Creates a new image (icon, cursor, or bitmap) and copies the attributes of the specified image to the new one. If necessary, the function stretches the bits to fit the desired size of the new image.
HANDLE CopyImage(
HANDLE h,
UINT type,
int cx,
int cy,
UINT flags
);
Implementation
int CopyImage(int h, int type, int cx, int cy, int flags) =>
_CopyImage(h, type, cx, cy, flags);