Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
04163ba9
Commit
04163ba9
authored
Jan 14, 2015
by
Michael Müller
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nvapi: Add stub for NvAPI_D3D_GetObjectHandleForResource.
parent
314fca4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
nvapi.c
dlls/nvapi/nvapi.c
+7
-0
nvapi.h
include/nvapi.h
+1
-0
No files found.
dlls/nvapi/nvapi.c
View file @
04163ba9
...
...
@@ -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
);
...
...
include/nvapi.h
View file @
04163ba9
...
...
@@ -55,6 +55,7 @@ typedef void *NvPhysicalGpuHandle;
typedef
void
*
NvLogicalGpuHandle
;
typedef
void
*
NvDisplayHandle
;
typedef
void
*
StereoHandle
;
typedef
void
*
NVDX_ObjectHandle
;
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment