Using Import() of OLE object

I would like to use Import() function of OLE object. The documentation is found here;
https://www.amibroker.com/guide/objects.html

The function prototype is like this;
Function Import(ByVal Type As Integer, ByVal FileName As String, [ByVal DefFileName As Variant]) As Long

I cannot find further documentation other than the prototype. Please point me to the link for more documentation if I have missed out.

I do not know what value to use for ByVal Type As Integer and what kind of of Long value is returned. I am also not able to find description for [ByVal DefFileName As Variant].

2 posts were merged into an existing topic: Import data through ole