Hacker News new | ask | show | jobs
by fbcocq 5646 days ago
HRESULT D3DX11CompileFromFile( LPCTSTR pSrcFile, D3D10_SHADER_MACRO pDefines, LPD3D10INCLUDE pInclude, LPCSTR pFunctionName, LPCSTR pProfile, UINT Flags1, UINT Flags2, ID3DX11ThreadPump pPump, ID3D10Blob ppShader, ID3D10Blob ppErrorMsgs, HRESULT *pHResult);

Eleven arguments, Microsoft. Please find somebody sane to write your APIs.