CopyImage function Null safety 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(
  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);