ComCtl32ImageList_Duplicate Method
Creates a duplicate of an existing image list.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ComCtl32.dll")]
public static IntPtr ImageList_Duplicate(
IntPtr hImageList
)
<DllImportAttribute("ComCtl32.dll">]
Public Shared Function ImageList_Duplicate (
hImageList As IntPtr
) As IntPtr
Dim hImageList As IntPtr
Dim returnValue As IntPtr
returnValue = ComCtl32.ImageList_Duplicate(hImageList)
public:
[DllImportAttribute(L"ComCtl32.dll")]
static IntPtr ImageList_Duplicate(
IntPtr hImageList
)
[<DllImportAttribute("ComCtl32.dll")>]
static member ImageList_Duplicate :
hImageList : IntPtr -> IntPtr
No code example is currently available or this language may not be supported.
- hImageList IntPtr
-
A handle to the image list to be duplicated.
All information contained in the original image list for normal images is copied to the new image list.
Overlay images are not copied.
IntPtr
Returns the handle to the new duplicate image list if successful, or
Zero otherwise.