20 Sep
2018
20 Sep
'18
5:38 a.m.
Alex Henrie <alexhenrie24(a)gmail.com> wrote:
+static HRESULT WINAPI (*pD3DCreateBlob)(SIZE_T, ID3DBlob **); +static HRESULT WINAPI (*pD3DGetBlobPart)(const void *, SIZE_T, D3D_BLOB_PART, UINT, ID3DBlob **); +static HRESULT WINAPI (*pD3DStripShader)(const void *, SIZE_T, UINT, ID3DBlob **);
WINAPI should be inside the brackets to become the part of the pointer type, and not a return type, otherwise MSVC won't compile it. -- Dmitry.