You are here: C++ API > Structs, Records, Enums > dtsFileInfo Structure
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsFileInfo Structure

Used to package basic information about a file that a file parser must provide.

File: dtsviewr.h

Syntax
C++
struct dtsFileInfo { char filename[FileNameLen]; char displayName[FileNameLen]; long size; dtsFileDate modified; dtsFileDate created; char title[FileNameLen]; unsigned short typeId; unsigned short parserId; char typeName[maxTypeNameLen]; long flags; long structSize; __int64 size64; };
Members
Description
char filename[FileNameLen];
Name of the file
char displayName[FileNameLen];
User-friendly name for the file
long size;
Size of the file (superseded by size64)
dtsFileDate modified;
Modification date
dtsFileDate created;
Created date
char title[FileNameLen];
Up to 80 characters of text; generally the first line of text in the file
unsigned short typeId;
The typeId of the dtsViewerInfo for this file parser
unsigned short parserId;
The typeId of the dtsViewerInfo for this file parser
char typeName[maxTypeNameLen];
Name of this file type, for display purposes
long flags;
FileInfoFlags value describing properties of this item
long structSize;
Size of the dtsFileInfo structure (the constructor will initialize this)
__int64 size64;
Size of the file (64-bit)
Copyright (c) 1995-2019 dtSearch Corp. All rights reserved.