CopyImage function user32

int CopyImage(
  1. int h,
  2. int type,
  3. int cx,
  4. int cy,
  5. int flags

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(
  UINT   type,
  int    cx,
  int    cy,
  UINT   flags


int CopyImage(int h, int type, int cx, int cy, int flags) =>
    _CopyImage(h, type, cx, cy, flags);