FIELD_OFFSET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// miniport.h

void FIELD_OFFSET(
  type,
  field
);
View the official Windows Driver Kit DDI reference
// minitape.h

LONG FIELD_OFFSET(
  _In_ TYPE  Type,
  _In_ PCHAR Field
);
View the official Windows Driver Kit DDI reference
// scsi.h

LONG FIELD_OFFSET(
  _In_ TYPE  Type,
  _In_ PCHAR Field
);
View the official Windows Driver Kit DDI reference
// storport.h

LONG FIELD_OFFSET(
  _In_ TYPE  Type,
  _In_ PCHAR Field
);
View the official Windows Driver Kit DDI reference
// wdm.h

void FIELD_OFFSET(
  [in] type,
  [in] field
);
View the official Windows Driver Kit DDI reference
// ntdef.h

void FIELD_OFFSET(
  [in] type,
  [in] field
);
View the official Win32 API reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-miniport-field_offset)

Description

The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.

Parameters

type

Specifies the name of a known structure type containing Field.

field

Specifies the name of a field in a structure of type Type.

Remarks

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.

See also

CONTAINING_RECORD


Windows Driver Kit DDI reference (nf-minitape-field_offset)

FIELD_OFFSET macro (minitape.h)

Description

The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.

Parameters

type

Specifies the name of a known structure type containing Field.

field

Specifies the name of a field in a structure of type Type.

Syntax

LONG FIELD_OFFSET(
  _In_ TYPE  Type,
  _In_ PCHAR Field
);

Remarks

Used by device driver writers to symbolically determine the offset of a known field in a known structure type.

See also

CONTAINING_RECORD


Windows Driver Kit DDI reference (nf-scsi-field_offset)

FIELD_OFFSET macro (scsi.h)

Description

The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.

Parameters

type

Specifies the name of a known structure type containing Field.

field

Specifies the name of a field in a structure of type Type.

Syntax

LONG FIELD_OFFSET(
  _In_ TYPE  Type,
  _In_ PCHAR Field
);

Remarks

Used by device driver writers to symbolically determine the offset of a known field in a known structure type.

See also

CONTAINING_RECORD


Windows Driver Kit DDI reference (nf-storport-field_offset)

FIELD_OFFSET macro (storport.h)

Description

The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.

Parameters

type

Specifies the name of a known structure type containing Field.

field

Specifies the name of a field in a structure of type Type.

Syntax

LONG FIELD_OFFSET(
  _In_ TYPE  Type,
  _In_ PCHAR Field
);

Remarks

Used by device driver writers to symbolically determine the offset of a known field in a known structure type.

See also

CONTAINING_RECORD


Windows Driver Kit DDI reference (nf-wdm-field_offset)

Description

The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.

Parameters

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.

Remarks

Used by device driver writers to symbolically determine the offset of a known field in a known structure type.

See also

CONTAINING_RECORD


Win32 API reference (nf-ntdef-field_offset)

FIELD_OFFSET macro

Description

The FIELD_OFFSET macro returns the byte offset of a named field in a known structure type.

Parameters

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.

Remarks

Used by device driver writers to symbolically determine the offset of a known field in a known structure type.

See also

CONTAINING_RECORD