Skip to content

Latest commit

 

History

History
86 lines (66 loc) · 3.01 KB

nf-d3dkmthk-d3dkmtqueryresourceinfo.md

File metadata and controls

86 lines (66 loc) · 3.01 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type 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 req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NF:d3dkmthk.D3DKMTQueryResourceInfo
D3DKMTQueryResourceInfo function (d3dkmthk.h)
The D3DKMTQueryResourceInfo function retrieves information about a shared resource.
display\d3dkmtqueryresourceinfo.htm
05/10/2018
D3DKMTQueryResourceInfo function
D3DKMTQueryResourceInfo, D3DKMTQueryResourceInfo function [Display Devices], OpenGL_Functions_77dad2ba-a352-4b1a-b2be-53c41589bf90.xml, d3dkmthk/D3DKMTQueryResourceInfo, display.d3dkmtqueryresourceinfo
d3dkmthk.h
D3dkmthk.h
Universal
Windows Vista
Gdi32.lib
Gdi32.dll
Windows
display
D3DKMTQueryResourceInfo
d3dkmthk/D3DKMTQueryResourceInfo
APIRef
kbSyntax
DllExport
Gdi32.dll
API-MS-Win-dx-d3dkmt-l1-1-0.dll
API-MS-Win-dx-d3dkmt-l1-1-1.dll
API-MS-Win-DX-D3DKMT-L1-1-2.dll
D3DKMTQueryResourceInfo

D3DKMTQueryResourceInfo function

-description

The D3DKMTQueryResourceInfo function retrieves information about a shared resource.

-parameters

-param unnamedParam1

pData [in, out]

A pointer to a D3DKMT_QUERYRESOURCEINFO structure that contains parameters for retrieving information about a shared resource.

-returns

D3DKMTQueryResourceInfo returns one of the following values:

Return code Description
STATUS_SUCCESS Information about a shared resource was successfully retrieved.
STATUS_DEVICE_REMOVED The graphics adapter was stopped or the display device was reset.
STATUS_INVALID_PARAMETER Parameters were validated and determined to be incorrect.
STATUS_INTEGER_OVERFLOW The size of all of the private driver data was too big to return to the OpenGL ICD.

This function might also return other NTSTATUS values.

-remarks

The OpenGL ICD typically calls D3DKMTQueryResourceInfo to obtain information about the resource and then uses this information to allocate the appropriate buffers for a call to D3DKMTOpenResource.

For an example of how an OpenGL ICD can use D3DKMTQueryResourceInfo to retrieve information about a shared resource, see the code example in D3DKMTOpenResource.

-see-also

D3DKMTOpenResource

D3DKMT_QUERYRESOURCEINFO