Platform SDK: SMTP Server Events

FH_OVERLAPPED

[This is preliminary documentation and subject to change.]

The FH_OVERLAPPED structure defines the extended OVERLAPPED structure used by the file I/O layer implemented in fcachdll.dll. The first 5 elements of this structure are identical to the standard OVERLAPPED structure and have precisely the same semantics. The final additional parameter is a pointer to a function that will be called to complete the I/O request.

struct FH_OVERLAPPED {
  UINT_PTR          Internal ;
  UINT_PTR          InternalHigh ;
  DWORD             Offset ;
  DWORD             OffsetHigh ;
  HANDLE            hEvent ;
  PFN_IO_COMPLETION pfnCompletion ;

  UINT_PTR    Reserved1 ; // do not use
  UINT_PTR    Reserved2 ; // do not use
  UINT_PTR    Reserved3 ; // do not use
  UINT_PTR    Reserved4 ; // do not use
} ;
typedef struct FH_OVERLAPPED* PFH_OVERLAPPED ;

Members

Internal
See OVERLAPPED.
InternalHigh
See OVERLAPPED.
Offset
See OVERLAPPED.
OffsetHigh
See OVERLAPPED.
hEvent
See OVERLAPPED.
pfnCompletion
A reference to a function that will be called asynchronously when the I/O request has been completed.

Remarks

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in filehc.h; include filehc.h.

See Also

FIOReadFile, FIOWriteFile, AssociateFile, ReleaseContext, CreateFile, OVERLAPPED