FireBirdLib - Topfield TMS PVR TAP Programming Library
HDD_TAP_isDisabled.c
Go to the documentation of this file.
1
#include "
FBLib_tap.h
"
2
3
// Return codes: 0 = not disabled or no TAPID not found
4
// 1 = The target TAP has been disabled
5
// 2 = return code not used by the TMS version
6
// 3 = return code not used by the TMS version
7
//
8
dword
HDD_TAP_isDisabled
(dword TAPID)
9
{
10
TRACEENTER
();
11
12
tTMSTAPTaskTable
*TMSTAPTaskTable;
13
int
TAPIndex;
14
dword ret;
15
16
TAPIndex =
HDD_TAP_GetIndexByID
(TAPID);
17
if
(TAPIndex == -1)
18
{
19
TRACEEXIT
();
20
return
0;
21
}
22
23
TMSTAPTaskTable = (
tTMSTAPTaskTable
*)
FIS_vTAPTable
();
24
ret = (TMSTAPTaskTable[TAPIndex].
unused5
? 1 : 0);
25
26
TRACEEXIT
();
27
return
ret;
28
}
FBLib_tap.h
FIS_vTAPTable
dword FIS_vTAPTable(void)
Definition:
FIS_vTAPTable.c:3
HDD_TAP_isDisabled
dword HDD_TAP_isDisabled(dword TAPID)
Definition:
HDD_TAP_isDisabled.c:8
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
HDD_TAP_GetIndexByID
int HDD_TAP_GetIndexByID(dword TAPID)
Definition:
HDD_TAP_GetIndexByID.c:6
tTMSTAPTaskTable
Definition:
libFireBird.h:2576
tTMSTAPTaskTable::unused5
dword unused5
Definition:
libFireBird.h:2586
tap
HDD_TAP_isDisabled.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3