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
69fe799c
Commit
69fe799c
authored
Sep 18, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Avoid LPVOID.
parent
70861505
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
+11
-12
d3d10_main.c
dlls/d3d10/d3d10_main.c
+6
-7
d3d10_1shader.h
include/d3d10_1shader.h
+1
-1
d3d10effect.h
include/d3d10effect.h
+2
-2
d3d10shader.h
include/d3d10shader.h
+2
-2
No files found.
dlls/d3d10/d3d10_main.c
View file @
69fe799c
...
...
@@ -27,16 +27,15 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d10
);
/* At process attach */
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
void
*
reserved
)
{
TRACE
(
"fdwReason=%d
\n
"
,
fdwReason
);
switch
(
fdwReason
)
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hInstDLL
);
break
;
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
}
return
TRUE
;
}
...
...
include/d3d10_1shader.h
View file @
69fe799c
...
...
@@ -27,7 +27,7 @@ DEFINE_GUID(IID_ID3D10ShaderReflection1, 0xc3457783, 0xa846, 0x47ce, 0x95, 0x20,
DECLARE_INTERFACE_
(
ID3D10ShaderReflection1
,
IUnknown
)
{
/* IUnknown methods */
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
LPVOID
*
objec
t
)
PURE
;
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
void
**
ou
t
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/* ID3D10ShaderReflection1 methods */
...
...
include/d3d10effect.h
View file @
69fe799c
...
...
@@ -755,7 +755,7 @@ DEFINE_GUID(IID_ID3D10Effect, 0x51b0ca8b, 0xec0b, 0x4519, 0x87, 0x0d, 0x8e, 0xe1
DECLARE_INTERFACE_
(
ID3D10Effect
,
IUnknown
)
{
/* IUnknown methods */
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
LPVOID
*
objec
t
)
PURE
;
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
void
**
ou
t
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/* ID3D10Effect methods */
...
...
@@ -781,7 +781,7 @@ DEFINE_GUID(IID_ID3D10EffectPool, 0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc,
DECLARE_INTERFACE_
(
ID3D10EffectPool
,
IUnknown
)
{
/* IUnknown methods */
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
LPVOID
*
objec
t
)
PURE
;
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
void
**
ou
t
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/* ID3D10EffectPool methods */
...
...
include/d3d10shader.h
View file @
69fe799c
...
...
@@ -140,7 +140,7 @@ typedef struct _D3D10_SHADER_VARIABLE_DESC
UINT
StartOffset
;
UINT
Size
;
UINT
uFlags
;
LPVOID
DefaultValue
;
void
*
DefaultValue
;
}
D3D10_SHADER_VARIABLE_DESC
;
typedef
struct
_D3D10_SHADER_TYPE_DESC
...
...
@@ -193,7 +193,7 @@ DEFINE_GUID(IID_ID3D10ShaderReflection, 0xd40e20b6, 0xf8f7, 0x42ad, 0xab, 0x20,
DECLARE_INTERFACE_
(
ID3D10ShaderReflection
,
IUnknown
)
{
/* IUnknown methods */
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
LPVOID
*
objec
t
)
PURE
;
STDMETHOD
(
QueryInterface
)(
THIS_
REFIID
riid
,
void
**
ou
t
)
PURE
;
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/* ID3D10ShaderReflection methods */
...
...
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