6.33 LceGetFileType
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