FireBirdLib - Topfield TMS PVR TAP Programming Library
HDD_GetAbsolutePathByTypeFile.c
Go to the documentation of this file.
1
#include <string.h>
2
#include "
libFireBird.h
"
3
4
bool
HDD_GetAbsolutePathByTypeFile
(TYPE_File *File,
char
*AbsFileName)
5
{
6
TRACEENTER
();
7
8
dword *d;
9
bool
ret;
10
11
ret = FALSE;
12
if
(AbsFileName) AbsFileName[0] =
'\0'
;
13
14
if
(File && AbsFileName)
15
{
16
//TYPE_File->handle points to a structure with 4 dwords. The third one points to the absolute path
17
d = File->handle;
18
if
(d && d[2])
19
{
20
strcpy(AbsFileName, (
char
*)d[2]);
21
ret = TRUE;
22
}
23
}
24
25
TRACEEXIT
();
26
return
ret;
27
}
HDD_GetAbsolutePathByTypeFile
bool HDD_GetAbsolutePathByTypeFile(TYPE_File *File, char *AbsFileName)
Definition:
HDD_GetAbsolutePathByTypeFile.c:4
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
hdd
HDD_GetAbsolutePathByTypeFile.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3