Scroll to navigation

DPA_Search(3w) Wine API DPA_Search(3w)

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

Declared in "commctrl.h".
Implemented in "dlls/comctl32/dpa.c".
Debug channel "dpa".
Oct 2012 Wine API