| 829 | } |
| 830 | |
| 831 | winid |
| 832 | mswin_winid_from_handle(HWND hWnd) |
| 833 | { |
| 834 | winid i = 0; |
| 835 | |
| 836 | for (i = 1; i < MAXWINDOWS; i++) |
| 837 | if (GetNHApp()->windowlist[i].win == hWnd) |
| 838 | return i; |
| 839 | return -1; |
| 840 | } |
| 841 | |
| 842 | winid |
| 843 | mswin_winid_from_type(int type) |
no test coverage detected