Skip to content

StorageTypeContants

OLE data-storage medium identifiers used by DataObjectFormat.StorageType and other low-level data-transfer routines, identifying how the bytes are physically stored.

INFO

The enum is named StorageTypeContants (note the missing s) in the runtime --- a long-standing VB6 holdover that twinBASIC preserves for source compatibility.

ConstantValueDescription
vbHGlobal1A global memory handle (HGLOBAL).
vbFile2A path to a file on disk.
vbIStream4An IStream interface pointer.
vbIStorage8An IStorage interface pointer.
vbGDI16A GDI object handle.
vbMetaFile32A Windows metafile handle.
vbEnhancedMetaFile64An enhanced metafile handle.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author