|
GetFile
|
|
|
The GetFile method returns handle of the file attached to the object.
C++
long GetFile(void);
BASIC
GetFile() As Long
Parameters
Method has no parameters.
Return Values
The return value is the Windows handle referring to the opened file that is attached to the object.
The return value is -1 if no file is attached to the object.
Remarks
File handle returned from the method can be used for attaching file to another object by means of Attach method.
It can be also passed to any Windows file access functions that expect file handle as a parameter.
See Also
Open,
OpenAdvanced,
Attach,
GetName,
Opening and Attaching File