"Trevor Taylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> So it sounds to me like the :blat is *not* part of the extension. It
> sounds like the NT file name is made up of three parts: name, extension
> and "stream".
>
> In which case I think it is fine to have functions extension() and
> change_extension() - they just should not report or modify the stream
part.
>
> To implement them I guess I'd need to know whether the file name was an
> NTFS filename, and then how to reliably locate the "extension" part?
>
Functin DeviceIoControl() with parameter IOCTL_DISK_GET_PARTITION_INFO can
do it. It is available on NT/W2K.

Does it make sense to take into account NTFS drives for Win95/98 (from
www.systeminternals.com) or Linux NTFS drivers?

/Pavel





_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to