OVERLAPPED Type

Type OVERLAPPED
  Internal As Long
  InternalHigh As Long
  offset As Long
  OffsetHigh As Long
  hEvent As Long
End Type

OVERLAPPED-type variables tell the file access functions what part of a file to read or write when asynchronous (overlapped) file access is used. Note that Windows 95 does not allow asynchronous file access for disk files, although Windows NT does. The actual offset is identified by combining offset and OffsetHigh in the formula (totaloffset) = OffsetHigh * 2^32 + offset (i.e., sticking the binary or hex values together).

Internal
Used by Windows -- do not set.
InternalHigh
Used by Windows -- do not set.
offset
Lower half of the position of the file to start reading or writing to.
OffsetHigh
Upper half of the position of the file to start reading or writing to.
hEvent
Identifies the event to send after data transfer is complete.
Used by: ReadFile, WriteFile
Back to the index.

Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/types/overlapped.html