BIF_RETURNFSANCESTORS in BROWSEINFO - what does it really mean?
-
I'm familiar with the MSDN documentation on the flag, but can't really figure out a difference when I have:
BIF_RETURNONLYFSDIRS | BIF_NEWDIALOGSTYLE | BIF_UAHINT | BIF_RETURNFSANCESTORS
Does BIF_RETURNONLYFSDIRS imply BIF_RETURNFSANCESTORS?
/* Charles Oppermann */ http://weblogs.asp.net/chuckop
-
I'm familiar with the MSDN documentation on the flag, but can't really figure out a difference when I have:
BIF_RETURNONLYFSDIRS | BIF_NEWDIALOGSTYLE | BIF_UAHINT | BIF_RETURNFSANCESTORS
Does BIF_RETURNONLYFSDIRS imply BIF_RETURNFSANCESTORS?
/* Charles Oppermann */ http://weblogs.asp.net/chuckop
It appears that the set of files that are returned between the two will be similar, but they are not the same. BIF_RETURNONLYFSDIRS only returns FOLDERS that are part of the users local file-system. I am not sure if this flag will prevent the root directory from being selected or not. This flag will also allow certain network share directories to be returned. BIF_RETURNFSANCESTORS definitely excludes the root dir, which might be the difference between the two flags, and this flag also excludes the use of certain network shares. That's my interpretation, hopefully it helps.
-
It appears that the set of files that are returned between the two will be similar, but they are not the same. BIF_RETURNONLYFSDIRS only returns FOLDERS that are part of the users local file-system. I am not sure if this flag will prevent the root directory from being selected or not. This flag will also allow certain network share directories to be returned. BIF_RETURNFSANCESTORS definitely excludes the root dir, which might be the difference between the two flags, and this flag also excludes the use of certain network shares. That's my interpretation, hopefully it helps.
Thanks for the info, but I can't reproduce.
Paul Watt wrote:
BIF_RETURNFSANCESTORS definitely excludes the root dir, which might be the difference between the two flags, and this flag also excludes the use of certain network shares.
With these flags, I do get root directories (C:\ for example):
BIF_RETURNONLYFSDIRS | BIF_NEWDIALOGSTYLE | BIF_UAHINT | BIF_RETURNFSANCESTORS
Weird, huh? Thanks anyway. I'm not blocked by this problem thankfully.
/* Charles Oppermann */ http://weblogs.asp.net/chuckop