Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.1 KB

nf-dpa_dsa-dsa_create.md

File metadata and controls

85 lines (65 loc) · 2.1 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name req.apiset
NF:dpa_dsa.DSA_Create
DSA_Create function (dpa_dsa.h)
Creates a dynamic structure array (DSA).
DSA_Create
DSA_Create function [Windows Controls]
_win32_DSA_Create
_win32_DSA_Create_cpp
controls.DSA_Create
controls._win32_DSA_Create
dpa_dsa/DSA_Create
controls\DSA_Create.htm
Controls
VS|Controls|~\controls\common\functions\dsa_create.htm
12/05/2018
DSA_Create, DSA_Create function [Windows Controls], _win32_DSA_Create, _win32_DSA_Create_cpp, controls.DSA_Create, controls._win32_DSA_Create, dpa_dsa/DSA_Create
dpa_dsa.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Comctl32.lib
ComCtl32.dll
Windows
19H1
DSA_Create
dpa_dsa/DSA_Create
c++
APIRef
kbSyntax
DllExport
ComCtl32.dll
DSA_Create
ext-ms-win-shell-comctl32-da-l1-1-0 (introduced in Windows 10, version 10.0.14393)

DSA_Create function

-description

[DSA_Create is available for use in the operating

systems specified in the Requirements section. It may be altered or unavailable in

subsequent versions.]

Creates a dynamic structure array (DSA).

-parameters

-param cbItem [in]

Type: int

The size, in bytes, of the item.

-param cItemGrow [in]

Type: int

The number of items by which the array should be incremented, if the DSA needs to be enlarged.

-returns

Type: HDSA

Returns a handle to a DSA if successful, or NULL if the creation fails.

-remarks

Unlike a dynamic pointer array (DPA), a DSA can contain elements of any size. This allows structures to be stored directly in the array.