---
UID: NF:d3d9.IDirect3DQuery9.GetType
title: IDirect3DQuery9::GetType (d3d9.h)
description: Gets the query type.
old-location: direct3d9\idirect3dquery9__gettype.htm
tech.root: direct3d9
ms.assetid: VS|directx_sdk|~\idirect3dquery9__gettype.htm
ms.date: 12/05/2018
ms.keywords: 581f12d8-a07f-3bef-8285-25360f8d6b4c, GetType, GetType method [Direct3D 9], GetType method [Direct3D 9],IDirect3DQuery9 interface, IDirect3DQuery9 interface [Direct3D 9],GetType method, IDirect3DQuery9.GetType, IDirect3DQuery9::GetType, d3d9helper/IDirect3DQuery9::GetType, direct3d9.idirect3dquery9__gettype
f1_keywords:
- d3d9/IDirect3DQuery9.GetType
dev_langs:
- c++
req.header: d3d9.h
req.include-header: D3D9.h
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: D3D9.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D3D9.lib
- D3D9.dll
api_name:
- IDirect3DQuery9.GetType
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDirect3DQuery9::GetType


## -description


Gets the query type.


## -parameters






## -returns



Type: <b><a href="https://docs.microsoft.com/windows/desktop/direct3d9/d3dquerytype">D3DQUERYTYPE</a></b>

Returns the query type. See <a href="https://docs.microsoft.com/windows/desktop/direct3d9/d3dquerytype">D3DQUERYTYPE</a>.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d3d9helper/nn-d3d9helper-idirect3dquery9">IDirect3DQuery9</a>
 

 

