DSA_Create function
[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).
Syntax
HDSA WINAPI DSA_Create( _In_ int cbItem, _In_ int cbItemGrow );
Parameters
- cbItem [in]
-
Type: int
The size, in bytes, of the item.
- cbItemGrow [in]
-
Type: int
The number of items by which the array should be incremented, if the DSA needs to be enlarged.
Return value
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.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012