public NativeImageList(Size imageSize, ILC flags) { IntPtr himl; lock (s_syncLock) { himl = ComCtl32.ImageList.Create(imageSize.Width, imageSize.Height, flags, InitialCapacity, GrowBy); Init(himl); } }
public static extern IntPtr Create(int cx, int cy, ILC flags, int cInitial, int cGrow);
public static partial IntPtr Create(int cx, int cy, ILC flags, int cInitial, int cGrow);