FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuItemGetID.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
dword
OSDMenuItemGetID
(
int
ItemIndex)
4
{
5
TRACEENTER
();
6
7
dword ret;
8
9
if
((ItemIndex < 0) || (ItemIndex >=
Menu
[
CurrentMenuLevel
].NrItems))
10
ret = 0;
11
else
12
ret =
Menu
[
CurrentMenuLevel
].
Item
[ItemIndex].
ID
;
13
14
TRACEEXIT
();
15
return
ret;
16
}
FBLib_TMSOSDMenu.h
Menu
tMenu Menu[NRMENULEVELS]
Definition:
OSDMenuInit.c:6
CurrentMenuLevel
dword CurrentMenuLevel
Definition:
OSDMenuInit.c:7
OSDMenuItemGetID
dword OSDMenuItemGetID(int ItemIndex)
Definition:
OSDMenuItemGetID.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tItem::ID
dword ID
Definition:
FBLib_TMSOSDMenu.h:45
tMenu::Item
tItem * Item
Definition:
FBLib_TMSOSDMenu.h:71
TMSOSDMenu
OSDMenuItemGetID.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3