FILE_SEGMENT_ELEMENT
Collapse the table of content
Expand the table of content

FILE_SEGMENT_ELEMENT union

Union that contains a 64-bit value that points to a page of data. This is used by the ReadFileScatter and WriteFileGather functions.

Syntax


typedef union _FILE_SEGMENT_ELEMENT {
  PVOID64   Buffer;
  ULONGLONG Alignment;
} FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT;

Members

Buffer

PVOID64 representation of 64-bit value.

Assigning a pointer to the Buffer member will sign-extend the value if the code is compiled as 32-bits; this can break 32-bit large-address aware applications running on systems configured with 4-Gigabyte Tuning or running under WOW64 on 64-bit Windows. Therefore, use the PtrToPtr64 macro when assigning pointers to the Buffer member.

Alignment

ULONGLONG representation of 64-bit value.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinNT.h (include Windows.h)

See also

File Management Structures
ReadFileScatter
WriteFileGather

 

 

Show:
© 2016 Microsoft