GetBlkSize()
Synopsis
ULONG GetBlkSize(
struct IORequest *io)
Function
Return the sector-size exponent stored for the opened unit's
bus.
Result
The stored base-two exponent of the sector size in bytes,
returned as ULONG. For example, 9 denotes 512-byte sectors.
This is not a byte count.
Notes
The call reads the cached bus value without issuing device
I/O or checking media presence. It leaves the request and its
error field unchanged.
No error result is provided for an unopened, closed or invalid
request. The pointers are not validated.
GetRdskLba()
Synopsis
ULONG GetRdskLba(
struct IORequest *io)
Function
Return the fixed value zero. This entrypoint does not search
for or read a rigid disk block.
Result
Always zero. The value does not establish that a rigid disk
block exists at logical block zero.
Notes
No device I/O is issued. The request and its error field are
left unchanged. This entrypoint provides no discovery status.