CONTAINING_RECORD

CONTAINING_RECORD returns the base address of an instance of a structure given the type of the structure and the address of a field within the containing structure.

Syntax

PCHAR CONTAINING_RECORD(IN PCHAR Address, IN TYPE Type,
IN PCHAR
Field);

At a Glance

Header File: winnt.h
Module: Nk
Platforms:
Versions: 2.0 and later
Complete Documentation: Windows NT Device Driver Kit