.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH GetMenuPosFromID 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBGetMenuPosFromID\fR (SHLWAPI.@) .SH SYNOPSIS INT GetMenuPosFromID ( HMENU \fIhMenu\fR, UINT \fIwID\fR ) .SH DESCRIPTION .PP Return the position of a menu item from its Id. .SH PARAMS \fIhMenu\fR \fB[In]\fR Menu containing the item. .PP \fIwID\fR \fB[In]\fR Id of the menu item. .PP .SH RETURNS .PP \fBSuccess:\fR The index of the menu item in \fIhMenu\fR. .PP \fBFailure:\fR \fB-1\fR, If the item is not found. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/shlwapi/ordinal.c"\fR. .PP Debug channel \fB"shell"\fR.