Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
10db5b67
Commit
10db5b67
authored
Jan 05, 2024
by
Krzysztof Bogacki
Committed by
Alexandre Julliard
Feb 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add D3DKMTEnumAdapters2() stub.
Signed-off-by:
Krzysztof Bogacki
<
krzysztof.bogacki@leancode.pl
>
parent
84246197
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
1 deletion
+40
-1
gdi32.spec
dlls/gdi32/gdi32.spec
+1
-0
main.c
dlls/win32u/main.c
+5
-0
sysparams.c
dlls/win32u/sysparams.c
+9
-0
win32syscalls.h
dlls/win32u/win32syscalls.h
+0
-0
win32u.spec
dlls/win32u/win32u.spec
+1
-1
gdi.c
dlls/wow64win/gdi.c
+22
-0
d3dkmthk.h
include/ddk/d3dkmthk.h
+1
-0
ntgdi.h
include/ntgdi.h
+1
-0
No files found.
dlls/gdi32/gdi32.spec
View file @
10db5b67
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
@ stdcall D3DKMTCreateDevice(ptr) win32u.NtGdiDdDDICreateDevice
@ stdcall D3DKMTCreateDevice(ptr) win32u.NtGdiDdDDICreateDevice
@ stdcall D3DKMTDestroyDCFromMemory(ptr) win32u.NtGdiDdDDIDestroyDCFromMemory
@ stdcall D3DKMTDestroyDCFromMemory(ptr) win32u.NtGdiDdDDIDestroyDCFromMemory
@ stdcall D3DKMTDestroyDevice(ptr) win32u.NtGdiDdDDIDestroyDevice
@ stdcall D3DKMTDestroyDevice(ptr) win32u.NtGdiDdDDIDestroyDevice
@ stdcall D3DKMTEnumAdapters2(ptr) win32u.NtGdiDdDDIEnumAdapters2
@ stdcall D3DKMTEscape(ptr) win32u.NtGdiDdDDIEscape
@ stdcall D3DKMTEscape(ptr) win32u.NtGdiDdDDIEscape
@ stdcall D3DKMTOpenAdapterFromDeviceName(ptr) win32u.NtGdiDdDDIOpenAdapterFromDeviceName
@ stdcall D3DKMTOpenAdapterFromDeviceName(ptr) win32u.NtGdiDdDDIOpenAdapterFromDeviceName
@ stdcall D3DKMTOpenAdapterFromGdiDisplayName(ptr)
@ stdcall D3DKMTOpenAdapterFromGdiDisplayName(ptr)
...
...
dlls/win32u/main.c
View file @
10db5b67
...
@@ -236,6 +236,11 @@ NTSTATUS SYSCALL_API NtGdiDdDDIDestroyDevice( const D3DKMT_DESTROYDEVICE *desc )
...
@@ -236,6 +236,11 @@ NTSTATUS SYSCALL_API NtGdiDdDDIDestroyDevice( const D3DKMT_DESTROYDEVICE *desc )
__ASM_SYSCALL_FUNC
(
__id_NtGdiDdDDIDestroyDevice
);
__ASM_SYSCALL_FUNC
(
__id_NtGdiDdDDIDestroyDevice
);
}
}
NTSTATUS
SYSCALL_API
NtGdiDdDDIEnumAdapters2
(
D3DKMT_ENUMADAPTERS2
*
desc
)
{
__ASM_SYSCALL_FUNC
(
__id_NtGdiDdDDIEnumAdapters2
);
}
NTSTATUS
SYSCALL_API
NtGdiDdDDIEscape
(
const
D3DKMT_ESCAPE
*
desc
)
NTSTATUS
SYSCALL_API
NtGdiDdDDIEscape
(
const
D3DKMT_ESCAPE
*
desc
)
{
{
__ASM_SYSCALL_FUNC
(
__id_NtGdiDdDDIEscape
);
__ASM_SYSCALL_FUNC
(
__id_NtGdiDdDDIEscape
);
...
...
dlls/win32u/sysparams.c
View file @
10db5b67
...
@@ -6574,3 +6574,12 @@ NTSTATUS WINAPI NtUserDisplayConfigGetDeviceInfo( DISPLAYCONFIG_DEVICE_INFO_HEAD
...
@@ -6574,3 +6574,12 @@ NTSTATUS WINAPI NtUserDisplayConfigGetDeviceInfo( DISPLAYCONFIG_DEVICE_INFO_HEAD
return
STATUS_INVALID_PARAMETER
;
return
STATUS_INVALID_PARAMETER
;
}
}
}
}
/******************************************************************************
* NtGdiDdDDIEnumAdapters2 (win32u.@)
*/
NTSTATUS
WINAPI
NtGdiDdDDIEnumAdapters2
(
D3DKMT_ENUMADAPTERS2
*
desc
)
{
FIXME
(
" (%p): stub
\n
"
,
desc
);
return
STATUS_PROCEDURE_NOT_FOUND
;
}
dlls/win32u/win32syscalls.h
View file @
10db5b67
This diff is collapsed.
Click to expand it.
dlls/win32u/win32u.spec
View file @
10db5b67
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
@ stub NtGdiDdDDIDispMgrSourceOperation
@ stub NtGdiDdDDIDispMgrSourceOperation
@ stub NtGdiDdDDIDispMgrTargetOperation
@ stub NtGdiDdDDIDispMgrTargetOperation
@ stub NtGdiDdDDIEnumAdapters
@ stub NtGdiDdDDIEnumAdapters
@ st
ub NtGdiDdDDIEnumAdapters2
@ st
dcall -syscall NtGdiDdDDIEnumAdapters2(ptr)
@ stdcall -syscall NtGdiDdDDIEscape(ptr)
@ stdcall -syscall NtGdiDdDDIEscape(ptr)
@ stub NtGdiDdDDIEvict
@ stub NtGdiDdDDIEvict
@ stub NtGdiDdDDIExtractBundleObject
@ stub NtGdiDdDDIExtractBundleObject
...
...
dlls/wow64win/gdi.c
View file @
10db5b67
...
@@ -507,6 +507,28 @@ NTSTATUS WINAPI wow64_NtGdiDdDDIDestroyDevice( UINT *args )
...
@@ -507,6 +507,28 @@ NTSTATUS WINAPI wow64_NtGdiDdDDIDestroyDevice( UINT *args )
return
NtGdiDdDDIDestroyDevice
(
desc
);
return
NtGdiDdDDIDestroyDevice
(
desc
);
}
}
NTSTATUS
WINAPI
wow64_NtGdiDdDDIEnumAdapters2
(
UINT
*
args
)
{
struct
{
ULONG
NumAdapters
;
ULONG
pAdapters
;
}
*
desc32
=
get_ptr
(
&
args
);
D3DKMT_ENUMADAPTERS2
desc
;
NTSTATUS
status
;
if
(
!
desc32
)
return
STATUS_INVALID_PARAMETER
;
desc
.
NumAdapters
=
desc32
->
NumAdapters
;
desc
.
pAdapters
=
UlongToPtr
(
desc32
->
pAdapters
);
status
=
NtGdiDdDDIEnumAdapters2
(
&
desc
);
desc32
->
NumAdapters
=
desc
.
NumAdapters
;
return
status
;
}
NTSTATUS
WINAPI
wow64_NtGdiDdDDIEscape
(
UINT
*
args
)
NTSTATUS
WINAPI
wow64_NtGdiDdDDIEscape
(
UINT
*
args
)
{
{
const
struct
const
struct
...
...
include/ddk/d3dkmthk.h
View file @
10db5b67
...
@@ -784,6 +784,7 @@ NTSTATUS WINAPI D3DKMTCreateDevice(D3DKMT_CREATEDEVICE *desc);
...
@@ -784,6 +784,7 @@ NTSTATUS WINAPI D3DKMTCreateDevice(D3DKMT_CREATEDEVICE *desc);
NTSTATUS
WINAPI
D3DKMTCreateDCFromMemory
(
D3DKMT_CREATEDCFROMMEMORY
*
desc
);
NTSTATUS
WINAPI
D3DKMTCreateDCFromMemory
(
D3DKMT_CREATEDCFROMMEMORY
*
desc
);
NTSTATUS
WINAPI
D3DKMTDestroyDCFromMemory
(
const
D3DKMT_DESTROYDCFROMMEMORY
*
desc
);
NTSTATUS
WINAPI
D3DKMTDestroyDCFromMemory
(
const
D3DKMT_DESTROYDCFROMMEMORY
*
desc
);
NTSTATUS
WINAPI
D3DKMTDestroyDevice
(
const
D3DKMT_DESTROYDEVICE
*
desc
);
NTSTATUS
WINAPI
D3DKMTDestroyDevice
(
const
D3DKMT_DESTROYDEVICE
*
desc
);
NTSTATUS
WINAPI
D3DKMTEnumAdapters2
(
D3DKMT_ENUMADAPTERS2
*
desc
);
NTSTATUS
WINAPI
D3DKMTEscape
(
const
D3DKMT_ESCAPE
*
desc
);
NTSTATUS
WINAPI
D3DKMTEscape
(
const
D3DKMT_ESCAPE
*
desc
);
NTSTATUS
WINAPI
D3DKMTOpenAdapterFromGdiDisplayName
(
D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME
*
desc
);
NTSTATUS
WINAPI
D3DKMTOpenAdapterFromGdiDisplayName
(
D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME
*
desc
);
NTSTATUS
WINAPI
D3DKMTOpenAdapterFromHdc
(
D3DKMT_OPENADAPTERFROMHDC
*
desc
);
NTSTATUS
WINAPI
D3DKMTOpenAdapterFromHdc
(
D3DKMT_OPENADAPTERFROMHDC
*
desc
);
...
...
include/ntgdi.h
View file @
10db5b67
...
@@ -481,6 +481,7 @@ W32KAPI NTSTATUS WINAPI NtGdiDdDDICreateDCFromMemory( D3DKMT_CREATEDCFROMMEMORY
...
@@ -481,6 +481,7 @@ W32KAPI NTSTATUS WINAPI NtGdiDdDDICreateDCFromMemory( D3DKMT_CREATEDCFROMMEMORY
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDICreateDevice
(
D3DKMT_CREATEDEVICE
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDICreateDevice
(
D3DKMT_CREATEDEVICE
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIDestroyDCFromMemory
(
const
D3DKMT_DESTROYDCFROMMEMORY
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIDestroyDCFromMemory
(
const
D3DKMT_DESTROYDCFROMMEMORY
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIDestroyDevice
(
const
D3DKMT_DESTROYDEVICE
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIDestroyDevice
(
const
D3DKMT_DESTROYDEVICE
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIEnumAdapters2
(
D3DKMT_ENUMADAPTERS2
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIEscape
(
const
D3DKMT_ESCAPE
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIEscape
(
const
D3DKMT_ESCAPE
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIOpenAdapterFromHdc
(
D3DKMT_OPENADAPTERFROMHDC
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIOpenAdapterFromHdc
(
D3DKMT_OPENADAPTERFROMHDC
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIOpenAdapterFromDeviceName
(
D3DKMT_OPENADAPTERFROMDEVICENAME
*
desc
);
W32KAPI
NTSTATUS
WINAPI
NtGdiDdDDIOpenAdapterFromDeviceName
(
D3DKMT_OPENADAPTERFROMDEVICENAME
*
desc
);
...
...
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