Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7f8c29a4
Commit
7f8c29a4
authored
Jun 15, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Make some functions static.
parent
bb7fe681
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
18 deletions
+15
-18
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
main.c
dlls/ddraw/main.c
+1
-4
material.c
dlls/ddraw/material.c
+4
-4
surface.c
dlls/ddraw/surface.c
+4
-4
vertexbuffer.c
dlls/ddraw/vertexbuffer.c
+4
-4
viewport.c
dlls/ddraw/viewport.c
+1
-1
No files found.
dlls/ddraw/ddraw.c
View file @
7f8c29a4
...
...
@@ -2703,7 +2703,7 @@ D3D7CB_CreateDepthStencilSurface(IUnknown *device,
* so the WineD3DSwapchain has a parent and can be released when the D3D
* device is destroyed
*****************************************************************************/
HRESULT
WINAPI
static
HRESULT
WINAPI
D3D7CB_CreateAdditionalSwapChain
(
IUnknown
*
device
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IWineD3DSwapChain
**
ppSwapChain
)
...
...
dlls/ddraw/main.c
View file @
7f8c29a4
...
...
@@ -50,9 +50,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ddraw
);
/* The driver's guid */
GUID
guid
=
{
0x40c1b248
,
0x9d7d
,
0x4a29
,{
0xd7
,
0xb7
,
0x4c
,
0xd8
,
0x10
,
0x9f
,
0x3d
,
0x5d
}};
/* The configured default surface */
WINED3DSURFTYPE
DefaultSurfaceType
=
SURFACE_UNKNOWN
;
...
...
@@ -720,7 +717,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
* Returns:
* DDENUMRET_OK;
*******************************************************************************/
HRESULT
WINAPI
static
HRESULT
WINAPI
DestroyCallback
(
IDirectDrawSurface7
*
surf
,
DDSURFACEDESC2
*
desc
,
void
*
context
)
...
...
dlls/ddraw/material.c
View file @
7f8c29a4
...
...
@@ -312,7 +312,7 @@ IDirect3DMaterialImpl_GetHandle(IDirect3DMaterial3 *iface,
return
DD_OK
;
}
HRESULT
WINAPI
static
HRESULT
WINAPI
Thunk_IDirect3DMaterialImpl_2_GetHandle
(
LPDIRECT3DMATERIAL2
iface
,
LPDIRECT3DDEVICE2
lpDirect3DDevice2
,
LPD3DMATERIALHANDLE
lpHandle
)
...
...
@@ -323,7 +323,7 @@ Thunk_IDirect3DMaterialImpl_2_GetHandle(LPDIRECT3DMATERIAL2 iface,
lpHandle
);
}
HRESULT
WINAPI
static
HRESULT
WINAPI
Thunk_IDirect3DMaterialImpl_1_GetHandle
(
LPDIRECT3DMATERIAL
iface
,
LPDIRECT3DDEVICE
lpDirect3DDevice
,
LPD3DMATERIALHANDLE
lpHandle
)
...
...
@@ -334,7 +334,7 @@ Thunk_IDirect3DMaterialImpl_1_GetHandle(LPDIRECT3DMATERIAL iface,
lpHandle
);
}
HRESULT
WINAPI
static
HRESULT
WINAPI
Thunk_IDirect3DMaterialImpl_2_QueryInterface
(
LPDIRECT3DMATERIAL2
iface
,
REFIID
riid
,
LPVOID
*
obp
)
...
...
@@ -345,7 +345,7 @@ Thunk_IDirect3DMaterialImpl_2_QueryInterface(LPDIRECT3DMATERIAL2 iface,
obp
);
}
HRESULT
WINAPI
static
HRESULT
WINAPI
Thunk_IDirect3DMaterialImpl_1_QueryInterface
(
LPDIRECT3DMATERIAL
iface
,
REFIID
riid
,
LPVOID
*
obp
)
...
...
dlls/ddraw/surface.c
View file @
7f8c29a4
...
...
@@ -1144,7 +1144,7 @@ IDirectDrawSurfaceImpl_PageUnlock(IDirectDrawSurface7 *iface,
* DDERR_UNSUPPORTED
*
*****************************************************************************/
HRESULT
WINAPI
IDirectDrawSurfaceImpl_BltBatch
(
IDirectDrawSurface7
*
iface
,
DDBLTBATCH
*
Batch
,
DWORD
Count
,
DWORD
Flags
)
static
HRESULT
WINAPI
IDirectDrawSurfaceImpl_BltBatch
(
IDirectDrawSurface7
*
iface
,
DDBLTBATCH
*
Batch
,
DWORD
Count
,
DWORD
Flags
)
{
TRACE
(
"(%p)->(%p,%ld,%08lx)
\n
"
,
iface
,
Batch
,
Count
,
Flags
);
...
...
@@ -1218,7 +1218,7 @@ IDirectDrawSurfaceImpl_EnumAttachedSurfaces(IDirectDrawSurface7 *iface,
* DD_OK, because it's a stub
*
*****************************************************************************/
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirectDrawSurfaceImpl_EnumOverlayZOrders
(
IDirectDrawSurface7
*
iface
,
DWORD
Flags
,
void
*
context
,
...
...
@@ -1628,7 +1628,7 @@ IDirectDrawSurfaceImpl_GetDDInterface(IDirectDrawSurface7 *iface,
}
/* This seems also windows implementation specific - I don't think WineD3D needs this */
HRESULT
WINAPI
IDirectDrawSurfaceImpl_ChangeUniquenessValue
(
IDirectDrawSurface7
*
iface
)
static
HRESULT
WINAPI
IDirectDrawSurfaceImpl_ChangeUniquenessValue
(
IDirectDrawSurface7
*
iface
)
{
ICOM_THIS_FROM
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
iface
);
volatile
IDirectDrawSurfaceImpl
*
vThis
=
This
;
...
...
@@ -1653,7 +1653,7 @@ HRESULT WINAPI IDirectDrawSurfaceImpl_ChangeUniquenessValue(IDirectDrawSurface7
return
DD_OK
;
}
HRESULT
WINAPI
IDirectDrawSurfaceImpl_GetUniquenessValue
(
IDirectDrawSurface7
*
iface
,
LPDWORD
pValue
)
static
HRESULT
WINAPI
IDirectDrawSurfaceImpl_GetUniquenessValue
(
IDirectDrawSurface7
*
iface
,
LPDWORD
pValue
)
{
ICOM_THIS_FROM
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
iface
);
...
...
dlls/ddraw/vertexbuffer.c
View file @
7f8c29a4
...
...
@@ -124,7 +124,7 @@ Thunk_IDirect3DVertexBufferImpl_1_QueryInterface(IDirect3DVertexBuffer *iface,
* The new refcount
*
*****************************************************************************/
ULONG
WINAPI
static
ULONG
WINAPI
IDirect3DVertexBufferImpl_AddRef
(
IDirect3DVertexBuffer7
*
iface
)
{
ICOM_THIS_FROM
(
IDirect3DVertexBufferImpl
,
IDirect3DVertexBuffer7
,
iface
);
...
...
@@ -135,7 +135,7 @@ IDirect3DVertexBufferImpl_AddRef(IDirect3DVertexBuffer7 *iface)
return
ref
;
}
ULONG
WINAPI
static
ULONG
WINAPI
Thunk_IDirect3DVertexBufferImpl_1_AddRef
(
IDirect3DVertexBuffer
*
iface
)
{
ICOM_THIS_FROM
(
IDirect3DVertexBufferImpl
,
IDirect3DVertexBuffer
,
iface
);
...
...
@@ -154,7 +154,7 @@ Thunk_IDirect3DVertexBufferImpl_1_AddRef(IDirect3DVertexBuffer *iface)
* The new refcount
*
*****************************************************************************/
ULONG
WINAPI
static
ULONG
WINAPI
IDirect3DVertexBufferImpl_Release
(
IDirect3DVertexBuffer7
*
iface
)
{
ICOM_THIS_FROM
(
IDirect3DVertexBufferImpl
,
IDirect3DVertexBuffer7
,
iface
);
...
...
@@ -171,7 +171,7 @@ IDirect3DVertexBufferImpl_Release(IDirect3DVertexBuffer7 *iface)
return
ref
;
}
ULONG
WINAPI
static
ULONG
WINAPI
Thunk_IDirect3DVertexBufferImpl_1_Release
(
IDirect3DVertexBuffer
*
iface
)
{
ICOM_THIS_FROM
(
IDirect3DVertexBufferImpl
,
IDirect3DVertexBuffer
,
iface
);
...
...
dlls/ddraw/viewport.c
View file @
7f8c29a4
...
...
@@ -283,7 +283,7 @@ IDirect3DViewportImpl_GetViewport(IDirect3DViewport3 *iface,
* DDERR_INVALIDPARAMS if Data is NULL
*
*****************************************************************************/
HRESULT
WINAPI
static
HRESULT
WINAPI
IDirect3DViewportImpl_SetViewport
(
IDirect3DViewport3
*
iface
,
D3DVIEWPORT
*
lpData
)
{
...
...
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