---
UID: NF:atlthunk.AtlThunk_DataToCode
title: AtlThunk_DataToCode function (atlthunk.h)
description: Returns an executable function corresponding to the AtlThunkData_t parameter.
old-location: base\atlthunk_datatocode.htm
tech.root: Memory
ms.assetid: 138714A8-5BBE-47A8-9E57-9CD6D35DE644
ms.date: 12/05/2018
ms.keywords: AtlThunk_DataToCode, AtlThunk_DataToCode function, atlthunk/AtlThunk_DataToCode, base.atlthunk_datatocode
f1_keywords:
- atlthunk/AtlThunk_DataToCode
dev_langs:
- c++
req.header: atlthunk.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows 10 [desktop apps only]
req.target-min-winversvr: Windows Server 2016 [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: Atlthunk.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- DllExport
api_location:
- atlthunk.dll
api_name:
- AtlThunk_DataToCode
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# AtlThunk_DataToCode function


## -description


Returns an executable function corresponding to the AtlThunkData_t parameter.


## -parameters




### -param Arg1

The ATL thunk.


## -returns



An executable function.



