Hello.
I’m trying to port Windows98 version FSD to W2K.
my FSD(windows 98 version) uses like that.
//
ret = R0_ReadFile(TRUE, handle, buf, buflen, offset, pError);
//
return value “ret” means “the number of bytes actually read”.
but, ZwReadFile() funtion returns only NTSTATUS.
How can I get “the number of bytes actually read”?
waiting for your answer. thank you.
p.s.
forgive my poor English.
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
ZwReadFile requires that you pass it the address of an IO_STATUS_BLOCK. The
Information field of this structure will be updated with the number of bytes
read upon successful completion of the call.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of xxxxx@softonnet.com
Sent: Friday, March 02, 2001 11:00 PM
To: File Systems Developers
Subject: [ntfsd] Regarding return value of ZwRead function.
Hello.
I’m trying to port Windows98 version FSD to W2K.
my FSD(windows 98 version) uses like that.
//
ret = R0_ReadFile(TRUE, handle, buf, buflen, offset, pError);
//
return value “ret” means “the number of bytes actually read”.
but, ZwReadFile() funtion returns only NTSTATUS.
How can I get “the number of bytes actually read”?
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com