Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.41 KB

idiasymbol-get-thunkordinal.md

File metadata and controls

46 lines (36 loc) · 1.41 KB
description title ms.date ms.topic dev_langs helpviewer_keywords author ms.author manager ms.subservice
Retrieves the thunk type of a function.
IDiaSymbol::get_thunkOrdinal
11/04/2016
reference
C++
IDiaSymbol::get_thunkOrdinal method
mikejo5000
mikejo
mijacobs
debug-diagnostics

IDiaSymbol::get_thunkOrdinal

Retrieves the thunk type of a function.

Syntax

HRESULT get_thunkOrdinal ( 
   DWORD* pRetVal
);

Parameters

pRetVal

[out] Returns a value from the THUNK_ORDINAL Enumeration enumeration that specifies the thunk type of a function.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

Note

A return value of S_FALSE means the property is not available for the symbol.

Remarks

This property is valid only if the symbol as a SymTagEnum Enumeration value of SymTagThunk.

A "thunk" is a piece of code that converts between a 32-bit memory address space (also known as flat address space) and a 16-bit address space (known as a segmented address space).

See also