Jump to content
Sign in to follow this  
4Eyes

Size of NTFS compressed file

Recommended Posts

4Eyes

Can anybody suggest how to determine the size on disk of a NTFS compressed file? FileGetSize() does not do it. I know FileGetAttrib() can tell me if it's compressed but that's not what I'm after.

Regards,

4Eyes

Share this post


Link to post
Share on other sites
rajeshontheweb
Triblade

Maybe this post helps: #3 behind this link: #88120

(the 2nd code, not the small first bit.)

Else you have to make a DLLcall youself :)

http://msdn.microsoft.com/en-us/library/aa364930.aspx

Edit: Hmm someone beat me :party:

Edited by Triblade

My active project(s): A-maze-ing generator (generates a maze)

My archived project(s): Pong3 (Multi-pinger)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×