Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDGARArchiveGetDocFileType Function

Overview

The EDGARArchiveGetDocFileType function will retrieve the document file type code for a specific document within the archive.

Syntax/Parameters

Syntax

dword = EDGARArchiveGetDocFileType ( handle hArchive, int index );

Parameters

hArchive

A handle that specifies the EDGAR Archive opened with EDGARArchiveOpen function.

index

An integer specifying a file entry in the mapped object.

Return Value

An dword (32-bit unsigned int) value specifying a file type or a formatted error code. On error, the GetLastError function will return the same error code.

Remarks

The EDGAR System supports only a limited number of file types and also generates a number of specific file types.

See Section 6.10 File Types for information on file types.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic