The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.
void FIELD_OFFSET( type, field );
Specifies the name of a known structure type containing Field.
Specifies the name of a field in a structure of type Type.
Used by device driver writers to symbolically determine the offset of a known field in a known structure type.
|Windows version||Available starting with Windows 2000.|
|Header||ntdef.h (include Ntdef.h, Wdm.h, Ntddk.h, Miniport.h, Minitape.h, Scsi.h, Storport.h)|