The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.
- Type [in]
Specifies the name of a known structure type containing Field.
- Field [in]
Specifies the name of a field in a structure of type Type.
Returns the byte offset of the caller supplied Field in the Type structure.
Used by device driver writers to symbolically determine the offset of a known field in a known structure type.
|Available starting with Windows 2000.|