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
145dc1dd
Commit
145dc1dd
authored
Jul 15, 2015
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx10_43: Add D3DX10CreateEffectFromFileA/W stubs.
parent
73d03f85
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
d3dx10_43.spec
dlls/d3dx10_43/d3dx10_43.spec
+2
-2
d3dx10_43_main.c
dlls/d3dx10_43/d3dx10_43_main.c
+31
-0
No files found.
dlls/d3dx10_43/d3dx10_43.spec
View file @
145dc1dd
...
@@ -20,8 +20,8 @@
...
@@ -20,8 +20,8 @@
@ stub D3DX10CreateAsyncTextureProcessor(ptr ptr ptr)
@ stub D3DX10CreateAsyncTextureProcessor(ptr ptr ptr)
@ stub D3DX10CreateDevice(ptr long long long ptr)
@ stub D3DX10CreateDevice(ptr long long long ptr)
@ stub D3DX10CreateDeviceAndSwapChain(ptr long long long ptr ptr ptr)
@ stub D3DX10CreateDeviceAndSwapChain(ptr long long long ptr ptr ptr)
@ st
ub
D3DX10CreateEffectFromFileA(str ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ st
dcall
D3DX10CreateEffectFromFileA(str ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ st
ub
D3DX10CreateEffectFromFileW(wstr ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ st
dcall
D3DX10CreateEffectFromFileW(wstr ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ stub D3DX10CreateEffectFromMemory(ptr long str ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ stub D3DX10CreateEffectFromMemory(ptr long str ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ stub D3DX10CreateEffectFromResourceA(long str str ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ stub D3DX10CreateEffectFromResourceA(long str str ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ stub D3DX10CreateEffectFromResourceW(long wstr wstr ptr ptr str long long ptr ptr ptr ptr ptr ptr)
@ stub D3DX10CreateEffectFromResourceW(long wstr wstr ptr ptr str long long ptr ptr ptr ptr ptr ptr)
...
...
dlls/d3dx10_43/d3dx10_43_main.c
View file @
145dc1dd
...
@@ -21,6 +21,8 @@
...
@@ -21,6 +21,8 @@
#include "config.h"
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include <stdarg.h>
#include <stdarg.h>
...
@@ -32,6 +34,9 @@
...
@@ -32,6 +34,9 @@
#include "objbase.h"
#include "objbase.h"
#include "d3d10.h"
#include "d3d10.h"
#include "d3dx10core.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
...
@@ -59,3 +64,29 @@ BOOL WINAPI D3DX10CheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
...
@@ -59,3 +64,29 @@ BOOL WINAPI D3DX10CheckVersion(UINT d3dsdkvers, UINT d3dxsdkvers)
return
FALSE
;
return
FALSE
;
}
}
HRESULT
WINAPI
D3DX10CreateEffectFromFileA
(
const
char
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
const
char
*
profile
,
UINT
hlslflags
,
UINT
fxflags
,
ID3D10Device
*
device
,
ID3D10EffectPool
*
effectpool
,
ID3DX10ThreadPump
*
pump
,
ID3D10Effect
**
effect
,
ID3D10Blob
**
errors
,
HRESULT
*
hresult
)
{
FIXME
(
"filename %s, defines %p, include %p, profile %s, hlslflags %#x, fxflags %#x, "
"device %p, effectpool %p, pump %p, effect %p, errors %p, hresult %p
\n
"
,
debugstr_a
(
filename
),
defines
,
include
,
debugstr_a
(
profile
),
hlslflags
,
fxflags
,
device
,
effectpool
,
pump
,
effect
,
errors
,
hresult
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DX10CreateEffectFromFileW
(
const
WCHAR
*
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
const
char
*
profile
,
UINT
hlslflags
,
UINT
fxflags
,
ID3D10Device
*
device
,
ID3D10EffectPool
*
effectpool
,
ID3DX10ThreadPump
*
pump
,
ID3D10Effect
**
effect
,
ID3D10Blob
**
errors
,
HRESULT
*
hresult
)
{
FIXME
(
"filename %s, defines %p, include %p, profile %s, hlslflags %#x, fxflags %#x, "
"device %p, effectpool %p, pump %p, effect %p, errors %p, hresult %p
\n
"
,
debugstr_w
(
filename
),
defines
,
include
,
debugstr_a
(
profile
),
hlslflags
,
fxflags
,
device
,
effectpool
,
pump
,
effect
,
errors
,
hresult
);
return
E_NOTIMPL
;
}
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