|
GoFiler Legato Script Reference
Legato v 1.6l
Application v 6.6b
|
Chapter
Three — Data Types and Operators
(continued)
GetHandleType Function
Overview
The GetHandleType function returns the associated type code for a handle.
Syntax/Parameters
Syntax
dword = GetHandleType ( handle value );
Parameters
value
A handle for which to get the type.
Return Value
Returns an dword as a handle type or 0xFFFFFFFF on failure. Use the GetLastError
function to retrieve a formatted error code.
Remarks
The handle types are defined in the SDK.
| |
Name |
|
Bitwise |
|
Description |
|
| |
Types |
|
|
|
|
|
| |
|
SOT_LOCATION_MASK |
|
0xFF000000 |
|
Location Mask |
|
| |
|
SOT_LOCAL |
|
0x00000000 |
|
Local Object (0x00------) |
|
| |
|
|
|
|
|
(others types defined in SDK) |
|
| |
Base Object Types |
|
|
|
|
|
| |
|
SOT_BASIC_FILE_OBJECT |
|
0x00000000 |
|
Basic File Object |
|
| |
|
SOT_MAPPED_TEXT_OBJECT |
|
0x00000001 |
|
Mapped Text Object |
|
| |
|
SOT_EDIT_OBJECT |
|
0x00000002 |
|
Edit Object |
|
| |
|
SOT_POOL_OBJECT |
|
0x00000003 |
|
Pool Object |
|
| |
|
SOT_LOG_OBJECT |
|
0x00000004 |
|
Log Object |
|
| |
|
SOT_WORD_PARSE_OBJECT |
|
0x00000005 |
|
Word Parse Object |
|
| |
|
SOT_CSV_OBJECT |
|
0x00000006 |
|
CSV Object |
|
| |
|
SOT_MD5_DIGEST_OBJECT |
|
0x00000007 |
|
MD5 Digest Object |
|
| |
|
SOT_FOLDER_ENUM_OBJECT |
|
0x00000008 |
|
Find File Object |
|
| |
|
SOT_FTP_OBJECT |
|
0x00000009 |
|
FTP Communications Class |
|
| |
|
SOT_HTTP_OBJECT |
|
0x0000000A |
|
HTTP Communications Class |
|
| |
|
SOT_ZIP_OBJECT |
|
0x0000000B |
|
Compression Object |
|
| |
|
SOT_DATA_SHEET_OBJECT |
|
0x0000000C |
|
Data Sheet Object |
|
| |
|
SOT_CLIPBOARD_OBJECT |
|
0x0000000D |
|
Clipboard Object (base) |
|
| |
|
SOT_CONSOLE_WINDOW |
|
0x0000000E |
|
Console (Synthetic, is Window Handle) |
|
| |
|
SOT_DATA_OBJECT |
|
0x0000000F |
|
Data Object |
|
| |
|
SOT_RESOURCE_OBJECT |
|
0x00000010 |
|
Resource Object |
|
| |
|
SOT_APP_LOG_OBJECT |
|
0x00000011 |
|
Application Log Object |
|
| |
|
SOT_JSON_OBJECT |
|
0x00000012 |
|
JSON Object |
|
| |
|
SOT_PROCESS_OBJECT |
|
0x00000013 |
|
Process |
|
| |
|
SOT_XML_PARSE_OBJECT |
|
0x00000014 |
|
XML Parse Object |
|
| |
|
SOT_DATA_WORKBOOK_OBJECT |
|
0x00000015 |
|
Data Sheet Workbook Object |
|
| |
|
SOT_EVENT_LOG_OBJECT |
|
0x00000016 |
|
Event Log Object |
|
| |
|
SOT_TEXT_ANALYSIS_OBJECT |
|
0x00000017 |
|
Text Analysis Object |
|
| |
(Platform Dependent) |
|
| |
Font Related Objects |
|
|
|
|
|
| |
|
SOT_FONT_SUB_OBJECT |
|
0x55000001 |
|
Font Substitution |
|
| |
SGML Related Objects |
|
|
|
|
|
| |
|
SOT_SGML_OBJECT |
|
0x5A000001 |
|
SGML Class |
|
| |
|
SOT_DTD_OBJECT |
|
0x5A000002 |
|
DTD Class |
|
| |
|
SOT_MIME_OBJECT |
|
0x5A000003 |
|
MIME Class |
|
| |
|
SOT_HTML_OBJECT |
|
0x5A000010 |
|
HTML Writer Class |
|
| |
|
SOT_OUTLINE_OBJECT |
|
0x5A000011 |
|
HTML Outline Class |
|
| |
|
SOT_HEADER_OBJECT |
|
0x5A000012 |
|
HTML Header Class |
|
| |
|
SOT_TABLE_MAP_OBJECT |
|
0x5A000013 |
|
HTML Table Map Class |
|
| |
|
SOT_FIELD_OBJECT |
|
0x5A000014 |
|
HTML/PSG Field Class |
|
| |
|
SOT_RSS_OBJECT |
|
0x5A000015 |
|
RSS Class |
|
| |
|
SOT_IXBRL_OBJECT |
|
0x5A000016 |
|
iXBRL Class |
|
| |
|
SOT_HTML_CONTEXT_OBJECT |
|
0x5A000017 |
|
HTML Context Class |
|
| |
|
SOT_PAGE_BREAK_OBJECT |
|
0x5A000018 |
|
HTML Page Break Class |
|
| |
|
SOT_HTML_STYLE_OBJECT |
|
0x5A000019 |
|
HTML Style Class |
|
| |
|
SOT_XDX_OBJECT |
|
0x5A00001A |
|
XDX Interface Object |
|
| |
|
SOT_XBRL_OBJECT |
|
0x5A00001B |
|
XBRL Model/Instance Object |
|
| |
|
SOT_HTML_ELEMENT_OBJECT |
|
0x5A00001C |
|
HTML Element Class |
|
| |
Higher Level Com Objects |
|
|
|
|
|
| |
|
SOT_SERIAL_OBJECT |
|
0x52000001 |
|
Serial Object Class |
|
| |
|
SOT_POP_OBJECT |
|
0x52000005 |
|
POP3 Object Class |
|
| |
Data Table |
|
|
|
|
|
| |
|
SOT_DATA_TABLE_OBJECT |
|
0x53000001 |
|
Data Table Object |
|
| |
ODBC Objects |
|
|
|
|
|
| |
|
SOT_ODBC_CONNECTION |
|
0x53000004 |
|
ODBC Connection |
|
| |
|
SOT_ODBC_RESULT |
|
0x53000005 |
|
ODBC Result |
|
| |
Data View Objects |
|
|
|
|
|
| |
|
SOT_DATA_VIEW_OBJECT |
|
0x41000001 |
|
Data View Class |
|
| |
Images |
|
|
|
|
|
| |
|
SOT_IMAGE_OBJECT |
|
0x57000001 |
|
Image Object |
|
| |
Comparison |
|
|
|
|
|
| |
|
SOT_HDIFF_OBJECT |
|
0x59000001 |
|
HTMLDiff (CompareHTML) Class |
|
| |
Tool Objects |
|
|
|
|
|
| |
|
SOT_CHL_OBJECT |
|
0x5E000001 |
|
Compiled Help Object |
|
| |
Translation Objects |
|
|
|
|
|
| |
|
SOT_EXCEL_EXPORT_OBJECT |
|
0x5B000001 |
|
Excel Export |
|
| |
Web View Objects |
|
|
|
|
|
| |
|
SOT_WEB_VIEW_OBJECT |
|
0x48000001 |
|
Web View Class |
|
| |
|
SOT_JAVASCRIPT_OBJECT |
|
0x48000002 |
|
Web View Javascript Result |
|
| |
OLE |
|
|
|
|
|
| |
|
SOT_AFX_IE |
|
0x5D000001 |
|
IE Object |
|
| |
|
SOT_AFX_GEN |
|
0x5D000002 |
|
Generic OLE Object |
|
| |
Base EDGAR Objects |
|
|
|
|
|
| |
|
SOT_EA_OBJECT |
|
0x61000001 |
|
EDGAR Archive Class |
|
| |
|
SOT_EM_OBJECT |
|
0x61000002 |
|
EDGAR Message Class |
|
| |
|
SOT_ES_OBJECT |
|
0x61000003 |
|
EDGAR System Class |
|
| |
XRBL |
|
|
|
|
|
| |
|
SOT_XBRL_VIEW_OBJECT |
|
0x65000001 |
|
XBRL View Object |
|
Additional handle types are provided for and located in LegatoDefaultSDK.h. Depending on the implementation
of Legato, the types may or may not be available.
Related Functions
CloseHandle — Closes an object handle and releases any associated resources.
GetHandleCount — Returns a count of all open managed handles.
IsValidHandle — Tests a handle value as being a valid Legato object handle.
IsWindowHandleValid — Tests a handle value as being a valid window handle.
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Page revised 2026-11-16
© 2012-2026 Novaworks, LLC. All rights reserved worldwide.
Unauthorized use, duplication or transmission is prohibited by law. Portions of the software are protected by US Patents 10,095,672,
10,706,221 and 11,210,456. Novaworks, GoFiler™ and Legato™ are registered trademarks of Novaworks, LLC. EDGAR® is a
federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the
U.S. Securities and Exchange Commission. All other trademarks are the property of their respective owners. Use of the features
specified in this language are subject to terms, conditions and limitations of the Software License Agreement.