Jump to content

Size of NTFS compressed file


Recommended Posts

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

Link to comment
Share on other sites

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)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...