DPA_Search.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

DPA_Search (COMCTL32.339)

SYNOPSIS

INT DPA_Search
 (
  const HDPA    hdpa,
  LPVOID        pFind,
  INT           nStart,
  PFNDPACOMPARE pfnCompare,
  LPARAM        lParam,
  UINT          uOptions
 )

DESCRIPTION

Searches a pointer array for a specified pointer.

PARAMS

hdpa [In] handle (pointer) to the pointer array.

pFind [In] pointer to search for.

nStart [In] start index.

pfnCompare [In] pointer to the compare function.

lParam [In] user defined value (3rd parameter of compare function).

uOptions [In] search options.

RETURNS

Success: index of the pointer in the array.

Failure: -1

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/comctl32/dpa.c".

Debug channel "dpa".