Commit 5daf5e80 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dcompiler: Avoid LPVOID.

parent 4735690d
......@@ -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)
{
......
......@@ -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
......
......@@ -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;
}
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment