EldoS | Feel safer!

Software components for data protection, secure storage and transfer

IsDirectoryEmpty takes a CbFsFileInfo AND a filename

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#26393
Posted: 09/11/2013 09:28:49
by William Levra-Juillet (Priority Standard support level)
Joined: 09/05/2013
Posts: 49

Hi,

I'm in the process of evaluating CbFS as a dokan alternative, looks great so far!
I have a question regarding the IsDirectoryEmpty callback.
It takes a CbFsFileInfo* and a LPWSTR FileName. The FileName parameter doesn't appear in the documentation, and it seems to be always the same value as the one returned by the CbFsFileInfo.

Which one should we use? CbFsFileInfo->get_FileNameBuffer or FileName?
(also, why is FileName not const, like LPCWSTR?)

Thx!
#26394
Posted: 09/11/2013 09:47:59
by Vladimir Cherniga (EldoS Corp.)

Hi,
FileName and FileInfo contains the same value of requested directory path. You may use any of this.
#26395
Posted: 09/11/2013 09:50:27
by William Levra-Juillet (Priority Standard support level)
Joined: 09/05/2013
Posts: 49

Thx for the prompt reply!

Reply

Statistics

Topic viewed 603 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!