d3d8.c

来自「一个类似windows」· C语言 代码 · 共 40 行

C
40
字号
#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;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?