EngProbeForRead

VOID EngProbeForRead(

    PVOID  Address,
   ULONG  Length,
   ULONG  Alignment
  );

EngProbeForRead probes a structure for read accessibility.

Parameters

Address

Pointer to the structure to be probed.

Length

Length, in bytes, of the structure to be probed.

Alignment

Supplies the required alignment of the structure. This parameter is expressed as the number of bytes in the base data type. For example, an alignment of 1 specifies that Address be aligned on a character boundary, 2 specifies alignment on a short boundary, and 4 specifies alignment on a long boundary.

Comments

EngProbeForRead causes an exception to be raised if the structure pointed to by Address:

·Does not have a base address that begins on an alignment-byte boundary.

·Is not read-accessible.

See Also

EngProbeForReadAndWrite