FireBirdLib - Topfield TMS PVR TAP Programming Library
LangGetString.c
Go to the documentation of this file.
1
#include "
FBLib_ini.h
"
2
#include "
libFireBird.h
"
3
4
char
*
LangGetString
(dword StringID)
5
{
6
TRACEENTER
();
7
8
char
*ret;
9
10
if
(!
LangStrings
|| !
LangStringPtr
|| (StringID >=
LangNrStrings
))
11
ret =
""
;
12
else
13
ret = &
LangStrings
[
LangStringPtr
[StringID]];
14
15
TRACEEXIT
();
16
return
ret;
17
}
FBLib_ini.h
LangStrings
char * LangStrings
Definition:
LangLoadStrings.c:8
LangNrStrings
dword LangNrStrings
Definition:
LangLoadStrings.c:6
LangStringPtr
dword * LangStringPtr
Definition:
LangLoadStrings.c:7
LangGetString
char * LangGetString(dword StringID)
Definition:
LangGetString.c:4
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
ini
LangGetString.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3