---
UID: NF:d2d1_3.ID2D1ImageSourceFromWic.GetSource
title: ID2D1ImageSourceFromWic::GetSource (d2d1_3.h)
description: Retrieves the underlying bitmap image source from the Windows Imaging Component (WIC).
old-location: direct2d\id2d1imagesourcefromwic_getsource.htm
tech.root: Direct2D
ms.assetid: B7E2FD7F-1427-46D9-B638-6A0FF86042B4
ms.date: 12/05/2018
ms.keywords: GetSource, GetSource method [Direct2D], GetSource method [Direct2D],ID2D1ImageSourceFromWic interface, ID2D1ImageSourceFromWic interface [Direct2D],GetSource method, ID2D1ImageSourceFromWic.GetSource, ID2D1ImageSourceFromWic::GetSource, d2d1_3/ID2D1ImageSourceFromWic::GetSource, direct2d.id2d1imagesourcefromwic_getsource
f1_keywords:
- d2d1_3/ID2D1ImageSourceFromWic.GetSource
dev_langs:
- c++
req.header: d2d1_3.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
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: D2d1_3.lib
req.dll: D2d1_3.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- d2d1_3.dll
api_name:
- ID2D1ImageSourceFromWic.GetSource
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1ImageSourceFromWic::GetSource


## -description


Retrieves the underlying bitmap image source from the Windows Imaging Component (WIC).


## -parameters




### -param wicBitmapSource

Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/wincodec/nn-wincodec-iwicbitmapsource">IWICBitmapSource</a>**</b>

On return contains the bitmap image source.


## -returns



This method does not return a value.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d2d1_3/nn-d2d1_3-id2d1imagesourcefromwic">ID2D1ImageSourceFromWic</a>
 

 

