Compartilhar via


THUNK_ORDINAL

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Designates thunk types.

Syntax

typedef enum THUNK_ORDINAL {
    THUNK_ORDINAL_NOTYPE,
    THUNK_ORDINAL_ADJUSTOR,
    THUNK_ORDINAL_VCALL,
    THUNK_ORDINAL_PCODE,
    THUNK_ORDINAL_LOAD

    // trampoline thunk ordinals - only for use in Trampoline thunk symbols
    THUNK_ORDINAL_TRAMP_INCREMENTAL,
    THUNK_ORDINAL_TRAMP_BRANCHISLAND,
} THUNK_ORDINAL;

Elements

THUNK_ORDINAL_NOTYPE Standard thunk.

THUNK_ORDINAL_ADJUSTOR A this adjustor thunk.

THUNK_ORDINAL_VCALL Virtual call thunk.

THUNK_ORDINAL_PCODE P-code thunk.

THUNK_ORDINAL_LOAD Delay load thunk.

THUNK_ORDINAL_TRAMP_INCREMENTAL Incremental trampoline thunk (a trampoline thunk is used to bounce calls from one memory space to another).

THUNK_ORDINAL_TRAMP_BRANCHISLAND Branch point trampoline thunk.

Remarks

The values in this enumeration are returned from a call to the IDiaSymbol::get_thunkOrdinal method.

Requirements

Header: cvconst.h

See also