mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Very basic dll, needs a makefile and none of the functions are implemented, more soon...
svn path=/trunk/; revision=6633
This commit is contained in:
parent
72f18889ef
commit
d20b00b875
5 changed files with 108 additions and 0 deletions
52
reactos/lib/d3d9/d3d9.c
Normal file
52
reactos/lib/d3d9/d3d9.c
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
#include <windows.h>
|
||||||
|
#include "d3d9.h"
|
||||||
|
|
||||||
|
HRESULT DLLAPI Direct3DShaderValidatorCreate9(void)
|
||||||
|
{
|
||||||
|
OutputDebugString("Direct3DShaderValidatorCreate9 not implemented.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT DLLAPI PSGPError(void)
|
||||||
|
{
|
||||||
|
OutputDebugString("PSGPError not implemented.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT DLLAPI PSGPSampleTexture(void)
|
||||||
|
{
|
||||||
|
OutputDebugString("PSGPSampleTexture not implemented.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT DLLAPI DebugSetLevel(void)
|
||||||
|
{
|
||||||
|
OutputDebugString("DebugSetLevel not implemented.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT DLLAPI DebugSetMute(DWORD dw1)
|
||||||
|
{
|
||||||
|
OutputDebugString("DebugSetMute not implemented.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
DWORD DLLAPI Direct3DCreate9( UINT SDKVersion )
|
||||||
|
{
|
||||||
|
OutputDebugString("Direct3DCreate9 not implemented.");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL APIENTRY DllMain(HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
|
||||||
|
{
|
||||||
|
switch (ul_reason_for_call)
|
||||||
|
{
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
case DLL_THREAD_ATTACH:
|
||||||
|
case DLL_THREAD_DETACH:
|
||||||
|
case DLL_PROCESS_DETACH:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
|
}
|
8
reactos/lib/d3d9/d3d9.def
Normal file
8
reactos/lib/d3d9/d3d9.def
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LIBRARY d3d9
|
||||||
|
EXPORTS
|
||||||
|
Direct3DShaderValidatorCreate9
|
||||||
|
PSGPError
|
||||||
|
PSGPSampleTexture
|
||||||
|
DebugSetLevel
|
||||||
|
DebugSetMute
|
||||||
|
Direct3DCreate9
|
8
reactos/lib/d3d9/d3d9.edf
Normal file
8
reactos/lib/d3d9/d3d9.edf
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
LIBRARY d3d9
|
||||||
|
EXPORTS
|
||||||
|
Direct3DShaderValidatorCreate9
|
||||||
|
PSGPError
|
||||||
|
PSGPSampleTexture
|
||||||
|
DebugSetLevel
|
||||||
|
DebugSetMute
|
||||||
|
Direct3DCreate9
|
3
reactos/lib/d3d9/d3d9.h
Normal file
3
reactos/lib/d3d9/d3d9.h
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
#define DLLAPI __declspec(dllexport)
|
37
reactos/lib/d3d9/d3d9.rc
Normal file
37
reactos/lib/d3d9/d3d9.rc
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
#include <defines.h>
|
||||||
|
#include <reactos/resource.h>
|
||||||
|
|
||||||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||||
|
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||||
|
FILEFLAGSMASK 0x3fL
|
||||||
|
#ifdef _DEBUG
|
||||||
|
FILEFLAGS 0x1L
|
||||||
|
#else
|
||||||
|
FILEFLAGS 0x0L
|
||||||
|
#endif
|
||||||
|
FILEOS 0x40004L
|
||||||
|
FILETYPE 0x2L
|
||||||
|
FILESUBTYPE 0x0L
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||||
|
VALUE "FileDescription", "ReactOS Direct3D\0"
|
||||||
|
VALUE "FileVersion", RES_STR_FILE_VERSION
|
||||||
|
VALUE "InternalName", "d3d9\0"
|
||||||
|
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||||
|
VALUE "OriginalFilename", "d3d9.dll\0"
|
||||||
|
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||||
|
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
Loading…
Reference in a new issue