Provides information about how to recognize a particular file type.
File
File: dtsviewr.h
Syntax
C++
struct dtsRecognitionSignature {
long offset;
short length;
const char * text;
char convertToUpper;
char patternMatch;
short confidence;
};
Members
|
Members |
Description |
|---|---|
|
long offset; |
Position in the file where the pattern would be |
|
short length; |
Length of the pattern |
|
const char * text; |
Text to compare against the text in the file |
|
char convertToUpper; |
Convert text in file to upper case before matching |
|
char patternMatch; |
Signature contains wildcards * and/or ? |
|
short confidence; |
Ranges from 1 to dtsMaxConfidence |
Group
Remarks
dtsRecognitionSignature is supplied as part of the dtsViewerInfo that a viewer uses to register itself.