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
bf353f18
Commit
bf353f18
authored
May 23, 2009
by
Tony Wasserka
Committed by
Alexandre Julliard
May 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Add stubs for the D3DXGetImageInfo function group.
parent
c1f161a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
6 deletions
+76
-6
Makefile.in
dlls/d3dx9_36/Makefile.in
+2
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+5
-5
surface.c
dlls/d3dx9_36/surface.c
+69
-0
No files found.
dlls/d3dx9_36/Makefile.in
View file @
bf353f18
...
...
@@ -12,7 +12,8 @@ C_SRCS = \
math.c
\
mesh.c
\
shader.c
\
sprite.c
sprite.c
\
surface.c
RC_SRCS
=
version.rc
...
...
dlls/d3dx9_36/d3dx9_36.spec
View file @
bf353f18
...
...
@@ -151,11 +151,11 @@
@ stub D3DXGetDeclVertexSize
@ stdcall D3DXGetDriverLevel(ptr)
@ stdcall D3DXGetFVFVertexSize(long)
@ stdcall D3DXGetImageInfoFromFileA(
ptr ptr) d3dx8.D3DXGetImageInfoFromFileA
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr)
d3dx8.D3DXGetImageInfoFromFileInMemory
@ stdcall D3DXGetImageInfoFromFileW(
ptr ptr) d3dx8.D3DXGetImageInfoFromFileW
@ stdcall D3DXGetImageInfoFromResourceA(long
ptr ptr) d3dx8.D3DXGetImageInfoFromResourceA
@ stdcall D3DXGetImageInfoFromResourceW(long
ptr ptr) d3dx8.D3DXGetImageInfoFromResourceW
@ stdcall D3DXGetImageInfoFromFileA(
str ptr)
@ stdcall D3DXGetImageInfoFromFileInMemory(ptr long ptr)
@ stdcall D3DXGetImageInfoFromFileW(
wstr ptr)
@ stdcall D3DXGetImageInfoFromResourceA(long
str ptr)
@ stdcall D3DXGetImageInfoFromResourceW(long
wstr ptr)
@ stdcall D3DXGetPixelShaderProfile(ptr)
@ stub D3DXGetShaderConstantTable
@ stub D3DXGetShaderConstantTableEx
...
...
dlls/d3dx9_36/surface.c
0 → 100644
View file @
bf353f18
/*
* Copyright (C) 2009 Tony Wasserka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "wine/debug.h"
#include "d3dx9_36_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
/************************************************************
* D3DXGetImageInfoFromFileInMemory
*
* Fills a D3DXIMAGE_INFO structure with info about an image
*
* PARAMS
* data [I] pointer to the image file data
* datasize [I] size of the passed data
* info [O] pointer to the destination structure
*
* RETURNS
* Success: D3D_OK
* Failure: D3DERR_INVALIDCALL
*
*/
HRESULT
WINAPI
D3DXGetImageInfoFromFileInMemory
(
LPCVOID
data
,
UINT
datasize
,
D3DXIMAGE_INFO
*
info
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXGetImageInfoFromFileA
(
LPCSTR
file
,
D3DXIMAGE_INFO
*
info
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXGetImageInfoFromFileW
(
LPCWSTR
file
,
D3DXIMAGE_INFO
*
info
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXGetImageInfoFromResourceA
(
HMODULE
module
,
LPCSTR
resource
,
D3DXIMAGE_INFO
*
info
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXGetImageInfoFromResourceW
(
HMODULE
module
,
LPCWSTR
resource
,
D3DXIMAGE_INFO
*
info
)
{
FIXME
(
"stub
\n
"
);
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