You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Retrieves the file type.

BOOL

LceGetFileType

(int

iSession,



 char far * 

strFileName,



 char far *

strValue )

  
Parameters

iSession

The session identifier returned by LceGetSessionId.

strFileName

The file name. The file must have been declared using an LceUseFile function.

strValue

The buffer location for the returned value. The size should be at least FILE_TYPE_LENGTH + 1.
The file types returned:
P = a physical file
L = a logical file.

  
Return Values
TRUE is returned if the session has got the file type.
FALSE is returned if an error occurs.
Notes

  • This function performs no communications to the host.
  • This function can only be executed after the session is opened.

Related Functions
6.71 LceUseFile
6.32 LceGetFileDesc

  • No labels