.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH DPA_Search 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBDPA_Search\fR (COMCTL32.339) .SH SYNOPSIS INT DPA_Search ( const HDPA \fIhdpa\fR, LPVOID \fIpFind\fR, INT \fInStart\fR, PFNDPACOMPARE \fIpfnCompare\fR, LPARAM \fIlParam\fR, UINT \fIuOptions\fR ) .SH DESCRIPTION .PP Searches a pointer array for a specified pointer. .SH PARAMS \fIhdpa\fR \fB[In]\fR handle (pointer) to the pointer array. .PP \fIpFind\fR \fB[In]\fR pointer to search for. .PP \fInStart\fR \fB[In]\fR start index. .PP \fIpfnCompare\fR \fB[In]\fR pointer to the compare function. .PP \fIlParam\fR \fB[In]\fR user defined value (3rd parameter of compare function). .PP \fIuOptions\fR \fB[In]\fR search options. .PP .SH RETURNS .PP \fBSuccess:\fR index of the pointer in the array. .PP \fBFailure:\fR \fB-1\fR .SH IMPLEMENTATION .PP Declared in \fB"commctrl.h"\fR. .PP Implemented in \fB"dlls/comctl32/dpa.c"\fR. .PP Debug channel \fB"dpa"\fR.