Very basic dll, needs a makefile and none of the functions are implemented, more soon...

svn path=/trunk/; revision=6632
This commit is contained in:
Richard Campbell 2003-11-12 21:05:23 +00:00
parent 4ceed6aba6
commit 72f18889ef
5 changed files with 91 additions and 0 deletions

39
reactos/lib/d3d8/d3d8.c Normal file
View file

@ -0,0 +1,39 @@
#include <windows.h>
#include "d3d8.h"
HRESULT DLLAPI ValidatePixelShader(void)
{
OutputDebugString("ValidateVertexShader not implemented.");
return 0;
}
HRESULT DLLAPI ValidateVertexShader(void)
{
OutputDebugString("ValidateVertexShader not implemented.");
return 0;
}
HRESULT DLLAPI DebugSetMute(DWORD dw1)
{
OutputDebugString("DebugSetMute not implemented.");
return 0;
}
DWORD DLLAPI Direct3DCreate8( UINT SDKVersion )
{
OutputDebugString("Direct3DCreate8 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;
}

View file

@ -0,0 +1,6 @@
LIBRARY d3d8
EXPORTS
ValidatePixelShader
ValidateVertexShader
DebugSetMute
Direct3DCreate8

View file

@ -0,0 +1,6 @@
LIBRARY d3d8
EXPORTS
ValidatePixelShader
ValidateVertexShader
DebugSetMute
Direct3DCreate8

3
reactos/lib/d3d8/d3d8.h Normal file
View file

@ -0,0 +1,3 @@
#include <windows.h>
#define DLLAPI __declspec(dllexport)

37
reactos/lib/d3d8/d3d8.rc Normal file
View 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", "d3d8\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "d3d8.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