Discussion:
How to access the 'file type' property of a file.
(too old to reply)
JoDeGr8
2009-09-17 10:16:29 UTC
Permalink
Hi,

How can i access the 'type of file' property seen in the general tab
of a file. I am accessing the property set using StgOpenStorageEx.
Please tell me the property id for the same.

Regards,
Joe.
Igor Tandetnik
2009-09-17 11:50:40 UTC
Permalink
Post by JoDeGr8
How can i access the 'type of file' property seen in the general tab
of a file.
SHGetFileInfo with SHGFI_TYPENAME flag.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
JoDeGr8
2009-09-17 16:05:37 UTC
Permalink
Very Thank you.
Post by Igor Tandetnik
Post by JoDeGr8
How can i access the 'type of file' property seen in the general tab
of a file.
SHGetFileInfo with SHGFI_TYPENAME flag.
--
With best wishes,
    Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Tom Serface
2009-09-17 16:44:26 UTC
Permalink
You may find this article/code to be useful as an example:

http://www.codeproject.com/KB/files/cuseshgetfileinfo.aspx

Tom

"JoDeGr8" <***@gmail.com> wrote in message news:0b9179bc-24f9-49c6-ae6f-***@b25g2000prb.googlegroups.com...
Very Thank you.
Post by Igor Tandetnik
Post by JoDeGr8
How can i access the 'type of file' property seen in the general tab
of a file.
SHGetFileInfo with SHGFI_TYPENAME flag.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
marc
2009-09-17 17:05:21 UTC
Permalink
No, it's just a (poor) copy from MSDN SDK samples...

Continue reading on narkive:
Loading...