Commit 04163ba9 authored by Michael Müller's avatar Michael Müller Committed by Vitaly Lipatov

nvapi: Add stub for NvAPI_D3D_GetObjectHandleForResource.

parent 314fca4e
......@@ -562,6 +562,12 @@ static NvAPI_Status CDECL NvAPI_GetLogicalGPUFromDisplay(NvDisplayHandle hNvDisp
return NVAPI_OK;
}
static NvAPI_Status CDECL NvAPI_D3D_GetObjectHandleForResource(IUnknown *pDevice, IUnknown *pResource, NVDX_ObjectHandle *pHandle)
{
FIXME("(%p, %p, %p): stub\n", pDevice, pResource, pHandle);
return NVAPI_ERROR;
}
void* CDECL nvapi_QueryInterface(unsigned int offset)
{
static const struct
......@@ -602,6 +608,7 @@ void* CDECL nvapi_QueryInterface(unsigned int offset)
{0xd22bdd7e, NvAPI_Unload},
{0x4b708b54, NvAPI_D3D_GetCurrentSLIState},
{0xee1370cf, NvAPI_GetLogicalGPUFromDisplay},
{0xfceac864, NvAPI_D3D_GetObjectHandleForResource},
};
unsigned int i;
TRACE("(%x)\n", offset);
......
......@@ -55,6 +55,7 @@ typedef void *NvPhysicalGpuHandle;
typedef void *NvLogicalGpuHandle;
typedef void *NvDisplayHandle;
typedef void *StereoHandle;
typedef void *NVDX_ObjectHandle;
typedef struct
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment