NAME

DPA_Clone  (COMCTL32.331)

SYNOPSIS

 HDPA DPA_Clone
 (
  const HDPA hdpa,
  HDPA       hdpaNew
 )

DESCRIPTION

Copies a pointer array to another one or creates a copy.

PARAMS

hdpa [In] handle (pointer) to the existing (source) pointer array.
hdpaNew [Out] handle (pointer) to the destination pointer array.

RETURNS

Success: pointer to the destination pointer array.

Failure: NULL.

NOTES

- If the 'hdpaNew' is a NULL-Pointer, a copy of the source pointer array will be created and its handle (pointer) is returned.

- If 'hdpa' is a NULL-Pointer, the original implementation crashes, this implementation just returns NULL.

IMPLEMENTATION

Declared in "include/commctrl.h". gitlab.winehq.org/wine/wine/blob/master/include/commctrl.h

Implemented in "dlls/comctl32/dpa.c". gitlab.winehq.org/wine/wine/blob/master/dlls/comctl32/dpa.c

Debug channel "dpa".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.