Jump to content

Recommended Posts

Posted

My SSD is 4k aligned.

 

 $Data = _WinAPI_GetDriveGeometryEx($Drive)

 

 
ConsoleWrite('Bytes per Sector: ' & $Data[4] & @CR)   
 
will return 512.
 
Does anynone know how to check 4k ?
 
Thanks!
Posted (edited)

I understand, but I will await the OP to explain further.

But I will give a clue >> http://msdn.microsoft.com/en-us/library/windows/desktop/ff800831(v=vs.85).aspx

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 5/15/2013 at 3:25 PM, Tripredacus said:

Fixed the link. Thanks.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted
  On 5/15/2013 at 3:37 PM, guinness said:

Fixed the link. Thanks.

Thanks. 

It seems that it is the  point.

I will study the material.

Posted

Have a look at WinAPIEx as well, especially DeviceIoControl.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
  • Recently Browsing   0 members

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