EngProbeForReadAndWrite

VOID EngProbeForReadAndWrite(

    PVOID  Address,
   ULONG  Length,
   ULONG  Alignment
  );

EngProbeForReadAndWrite probes a structure for read and write 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

EngProbeForReadAndWrite 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 both read- and write-accessible.

See Also

EngProbeForRead