opening alternate data stream

All,
Here is my stupid question,

In pre create i create a stream file object, using IoCreateStreamFileObjectLite and populate this file object with following file name “\dir\dir2\foo.c:test:$DATA” then send the request down to filesystem to open the stream “test”, and it open successfully, my question is to open stream does ntfs file system opens the file foo.c too???

Thanks
Ash

> is to open stream does ntfs file system opens the file

The Stream Control Block( to which the FsContext points, the FsContext2
points to Cache Control Block ) has a pointer to a File Control Block(FCB).
In this sense, the file is opened because the structure that describes the
whole file(i.e. FCB) exists and one stream object is created and linked to
it.


Slava Imameyev, xxxxx@hotmail.com

wrote in message news:xxxxx@ntfsd…
> All,
> Here is my stupid question,
>
> In pre create i create a stream file object, using
> IoCreateStreamFileObjectLite and populate this file object with following
> file name “\dir\dir2\foo.c:test:$DATA” then send the request down to
> filesystem to open the stream “test”, and it open successfully, my
> question is to open stream does ntfs file system opens the file foo.c
> too???
>
> Thanks
> Ash
>