Export (0) Print
Expand All

DSA_SetItem function

[DSA_SetItem is available through Windows XP with Service Pack 2 (SP2). It might be altered or unavailable in subsequent versions.]

Sets the contents of an element in a dynamic structure array (DSA).

Syntax


BOOL WINAPI DSA_SetItem(
  _In_  HDSA hdsa,
  _In_  int index,
  _In_  void *pItem
);

Parameters

hdsa [in]

Type: HDSA

A handle to an existing DSA that contains the element.

index [in]

Type: int

The zero-based index of the item to set.

pItem [in]

Type: void*

A pointer to the item that will replace the specified item in the array.

Return value

Type: BOOL

TRUE if successful; otherwise, FALSE.

Remarks

DSA_SetItem is not exported by name. To use it, you must use GetProcAddress and request ordinal 325 from ComCtl32.dll to obtain a function pointer.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

DLL

Comctl32.dll (version 4.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft