OVERLAPPED (Compact 2013)

3/26/2014

This structure contains the file offset of the beginning of the lock range.

Syntax

typedef struct _OVERLAPPED {
  ULONG_PTR Internal; 
  ULONG_PTR InternalHigh; 
  DWORD Offset; 
  DWORD OffsetHigh; 
  HANDLE hEvent; 
} OVERLAPPED; 

Members

  • Internal
    Not used.
  • InternalHigh
    Not used.
  • Offset
    File offset of the beginning of the lock range.
  • OffsetHigh
    High order word of the byte offset of the beginning of the lock range.
  • hEvent
    A handle to the event that will be set to a signaled state by the system when the operation has completed. The user must initialize this member either to zero or a valid event handle using the CreateEvent function before passing this structure to any overlapped functions. This event can then be used to synchronize simultaneous I/O requests for a device.

Requirements

Header

winbase.h

See Also

Reference

File I/O Structures
LockFileEx
UnlockFileEx