FireBirdLib - Topfield TMS PVR TAP Programming Library
HDD_TAP_isAnyRunning.c
Go to the documentation of this file.
1
#include "
FBLib_tap.h
"
2
3
bool
HDD_TAP_isAnyRunning
(
void
)
4
{
5
TRACEENTER
();
6
7
dword i;
8
tTMSTAPTaskTable
*TMSTAPTaskTable;
9
10
TMSTAPTaskTable = (
tTMSTAPTaskTable
*)
FIS_vTAPTable
();
11
12
if
(!TMSTAPTaskTable || (!
LibInitialized
&& !
InitTAPex
()))
13
{
14
TRACEEXIT
();
15
return
FALSE;
16
}
17
18
for
(i = 0; i <
TAP_MAX
; i++)
19
{
20
if
((TMSTAPTaskTable[i].Status != 0) && (i !=
TAP_TableIndex
))
21
{
22
TRACEEXIT
();
23
return
TRUE;
24
}
25
}
26
27
TRACEEXIT
();
28
return
FALSE;
29
}
LibInitialized
bool LibInitialized
Definition:
InitTAPex.c:8
FBLib_tap.h
FIS_vTAPTable
dword FIS_vTAPTable(void)
Definition:
FIS_vTAPTable.c:3
HDD_TAP_isAnyRunning
bool HDD_TAP_isAnyRunning(void)
Definition:
HDD_TAP_isAnyRunning.c:3
InitTAPex
bool InitTAPex(void)
Definition:
InitTAPex.c:10
TAP_MAX
#define TAP_MAX
Definition:
libFireBird.h:60
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
TAP_TableIndex
dword TAP_TableIndex
Definition:
InitTAPex.c:7
tTMSTAPTaskTable
Definition:
libFireBird.h:2576
tap
HDD_TAP_isAnyRunning.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3