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
d9cd05db
Commit
d9cd05db
authored
Apr 13, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Apr 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add GetHWND and SetHWND methods to IWineD3DDevice.
parent
29022c49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
device.c
dlls/wined3d/device.c
+15
-0
wined3d_interface.h
include/wine/wined3d_interface.h
+4
-0
No files found.
dlls/wined3d/device.c
View file @
d9cd05db
...
@@ -4770,6 +4770,19 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetDisplayMode(IWineD3DDevice *iface, UINT iSw
...
@@ -4770,6 +4770,19 @@ HRESULT WINAPI IWineD3DDeviceImpl_GetDisplayMode(IWineD3DDevice *iface, UINT iSw
}
}
return
hr
;
return
hr
;
}
}
HRESULT
WINAPI
IWineD3DDeviceImpl_SetHWND
(
IWineD3DDevice
*
iface
,
HWND
hWnd
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
HRESULT
WINAPI
IWineD3DDeviceImpl_GetHWND
(
IWineD3DDevice
*
iface
,
HWND
*
hWnd
)
{
FIXME
(
"This is unimplemented for now(d3d7 merge)
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
/*****
/*****
* Stateblock related functions
* Stateblock related functions
*****/
*****/
...
@@ -6811,6 +6824,8 @@ const IWineD3DDeviceVtbl IWineD3DDevice_Vtbl =
...
@@ -6811,6 +6824,8 @@ const IWineD3DDeviceVtbl IWineD3DDevice_Vtbl =
IWineD3DDeviceImpl_GetDeviceCaps
,
IWineD3DDeviceImpl_GetDeviceCaps
,
IWineD3DDeviceImpl_GetDirect3D
,
IWineD3DDeviceImpl_GetDirect3D
,
IWineD3DDeviceImpl_GetDisplayMode
,
IWineD3DDeviceImpl_GetDisplayMode
,
IWineD3DDeviceImpl_GetHWND
,
IWineD3DDeviceImpl_SetHWND
,
IWineD3DDeviceImpl_GetNumberOfSwapChains
,
IWineD3DDeviceImpl_GetNumberOfSwapChains
,
IWineD3DDeviceImpl_GetRasterStatus
,
IWineD3DDeviceImpl_GetRasterStatus
,
IWineD3DDeviceImpl_GetSwapChain
,
IWineD3DDeviceImpl_GetSwapChain
,
...
...
include/wine/wined3d_interface.h
View file @
d9cd05db
...
@@ -371,6 +371,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -371,6 +371,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
GetDeviceCaps
)(
THIS_
WINED3DCAPS
*
pCaps
)
PURE
;
STDMETHOD
(
GetDeviceCaps
)(
THIS_
WINED3DCAPS
*
pCaps
)
PURE
;
STDMETHOD
(
GetDirect3D
)(
THIS_
IWineD3D
**
ppD3D
)
PURE
;
STDMETHOD
(
GetDirect3D
)(
THIS_
IWineD3D
**
ppD3D
)
PURE
;
STDMETHOD
(
GetDisplayMode
)(
THIS_
UINT
iSwapChain
,
WINED3DDISPLAYMODE
*
pMode
)
PURE
;
STDMETHOD
(
GetDisplayMode
)(
THIS_
UINT
iSwapChain
,
WINED3DDISPLAYMODE
*
pMode
)
PURE
;
STDMETHOD
(
GetHWND
)(
THIS_
HWND
*
hwnd
)
PURE
;
STDMETHOD
(
SetHWND
)(
THIS_
HWND
hwnd
)
PURE
;
STDMETHOD_
(
UINT
,
GetNumberOfSwapChains
)(
THIS
)
PURE
;
STDMETHOD_
(
UINT
,
GetNumberOfSwapChains
)(
THIS
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
UINT
iSwapChain
,
WINED3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetRasterStatus
)(
THIS_
UINT
iSwapChain
,
WINED3DRASTER_STATUS
*
pRasterStatus
)
PURE
;
STDMETHOD
(
GetSwapChain
)(
THIS_
UINT
iSwapChain
,
struct
IWineD3DSwapChain
**
pSwapChain
)
PURE
;
STDMETHOD
(
GetSwapChain
)(
THIS_
UINT
iSwapChain
,
struct
IWineD3DSwapChain
**
pSwapChain
)
PURE
;
...
@@ -511,6 +513,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -511,6 +513,8 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
#define IWineD3DDevice_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a)
#define IWineD3DDevice_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a)
#define IWineD3DDevice_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
#define IWineD3DDevice_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a)
#define IWineD3DDevice_GetDisplayMode(p,a,b) (p)->lpVtbl->GetDisplayMode(p,a,b)
#define IWineD3DDevice_GetDisplayMode(p,a,b) (p)->lpVtbl->GetDisplayMode(p,a,b)
#define IWineD3DDevice_GetHWND(p, a) (p)->lpVtbl->GetHWND(p, a)
#define IWineD3DDevice_SetHWND(p, a) (p)->lpVtbl->SetHWND(p, a)
#define IWineD3DDevice_GetNumberOfSwapChains(p) (p)->lpVtbl->GetNumberOfSwapChains(p)
#define IWineD3DDevice_GetNumberOfSwapChains(p) (p)->lpVtbl->GetNumberOfSwapChains(p)
#define IWineD3DDevice_Reset(p,a) (p)->lpVtbl->Reset(p,a)
#define IWineD3DDevice_Reset(p,a) (p)->lpVtbl->Reset(p,a)
#define IWineD3DDevice_SetDialogBoxMode(p,a) (p)->lpVtbl->SetDialogBoxMode(p,a)
#define IWineD3DDevice_SetDialogBoxMode(p,a) (p)->lpVtbl->SetDialogBoxMode(p,a)
...
...
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