Collapse All
Parallels C API Reference Guide
PrlFsEntry_GetType Function
PrlApi.h PHT_REMOTE_FILESYSTEM_ENTRY

Returns the file system entry type (file, directory, drive).

Syntax
PRL_RESULT PrlFsEntry_GetType(
    PRL_HANDLE hFsEntry, 
    PRL_FILE_SYSTEM_ELEMENT_TYPE_PTR pnFsEntryType
);
File
Parameters

hFsEntry
A handle of type PHT_REMOTE_FILESYSTEM_ENTRY identifying the file system entry.
pnFsEntryType
[out] A pointer to a variable that receives the type.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!