d3dcompiler: Avoid LPVOID.
This commit is contained in:
parent
4735690dc2
commit
5daf5e80fb
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "d3dcompiler_private.h"
|
#include "d3dcompiler_private.h"
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
|
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
|
||||||
{
|
{
|
||||||
switch (reason)
|
switch (reason)
|
||||||
{
|
{
|
||||||
|
|
|
@ -72,7 +72,7 @@ struct d3dcompiler_shader_reflection_variable
|
||||||
UINT start_offset;
|
UINT start_offset;
|
||||||
UINT size;
|
UINT size;
|
||||||
UINT flags;
|
UINT flags;
|
||||||
LPVOID default_value;
|
void *default_value;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct d3dcompiler_shader_reflection_constant_buffer
|
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)
|
static HRESULT WINAPI testD3DInclude_close(ID3DInclude *iface, const void *data)
|
||||||
{
|
{
|
||||||
HeapFree(GetProcessHeap(), 0, (LPVOID)data);
|
HeapFree(GetProcessHeap(), 0, (void *)data);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ typedef struct _D3D11_SHADER_VARIABLE_DESC
|
||||||
UINT StartOffset;
|
UINT StartOffset;
|
||||||
UINT Size;
|
UINT Size;
|
||||||
UINT uFlags;
|
UINT uFlags;
|
||||||
LPVOID DefaultValue;
|
void *DefaultValue;
|
||||||
UINT StartTexture;
|
UINT StartTexture;
|
||||||
UINT TextureSize;
|
UINT TextureSize;
|
||||||
UINT StartSampler;
|
UINT StartSampler;
|
||||||
|
@ -180,7 +180,7 @@ DEFINE_GUID(IID_ID3D11ShaderReflection, 0x0a233719, 0x3960, 0x4578, 0x9d, 0x7c,
|
||||||
DECLARE_INTERFACE_(ID3D11ShaderReflection, IUnknown)
|
DECLARE_INTERFACE_(ID3D11ShaderReflection, IUnknown)
|
||||||
{
|
{
|
||||||
/* IUnknown methods */
|
/* 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, AddRef)(THIS) PURE;
|
||||||
STDMETHOD_(ULONG, Release)(THIS) PURE;
|
STDMETHOD_(ULONG, Release)(THIS) PURE;
|
||||||
/* ID3D11ShaderReflection methods */
|
/* ID3D11ShaderReflection methods */
|
||||||
|
|
Loading…
Reference in New Issue