d3dcompiler: Avoid LPVOID.

This commit is contained in:
Henri Verbeet 2013-09-06 09:57:42 +02:00 committed by Alexandre Julliard
parent 4735690dc2
commit 5daf5e80fb
4 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@
#include "d3dcompiler_private.h"
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
{
switch (reason)
{

View File

@ -72,7 +72,7 @@ struct d3dcompiler_shader_reflection_variable
UINT start_offset;
UINT size;
UINT flags;
LPVOID default_value;
void *default_value;
};
struct d3dcompiler_shader_reflection_constant_buffer

View File

@ -1486,7 +1486,7 @@ static HRESULT WINAPI testD3DInclude_open(ID3DInclude *iface, D3D_INCLUDE_TYPE i
static HRESULT WINAPI testD3DInclude_close(ID3DInclude *iface, const void *data)
{
HeapFree(GetProcessHeap(), 0, (LPVOID)data);
HeapFree(GetProcessHeap(), 0, (void *)data);
return S_OK;
}

View File

@ -80,7 +80,7 @@ typedef struct _D3D11_SHADER_VARIABLE_DESC
UINT StartOffset;
UINT Size;
UINT uFlags;
LPVOID DefaultValue;
void *DefaultValue;
UINT StartTexture;
UINT TextureSize;
UINT StartSampler;
@ -180,7 +180,7 @@ DEFINE_GUID(IID_ID3D11ShaderReflection, 0x0a233719, 0x3960, 0x4578, 0x9d, 0x7c,
DECLARE_INTERFACE_(ID3D11ShaderReflection, IUnknown)
{
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID *object) PURE;
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **out) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
/* ID3D11ShaderReflection methods */