----------------------------------------
-- File : d3dx10async.ads --
-- Translator:Dongfeng.Gu,2018/10/25 --
-- Mail: 515639@qq.com --
-- Progress:100% --
----------------------------------------
with win32; use win32;
with win32.windef; use win32.windef;
with win32.rpcdce; use win32.rpcdce;
with win32.objbase; use win32.Objbase;
with win32.Wingdi;
with win32.Winerror;
with DXGI; use DXGI;
with d3d10; use d3d10;
with D3D10_1; use D3D10_1;
with d3dx10tex; use d3dx10tex;
with d3d10misc; use d3d10misc;
with d3dx10core; use d3dx10core;
with D3D10shader; use D3D10shader;
with D3D10effect; use D3D10effect;
package d3dx10async is
type LPHRESULT is access all HRESULT;
function D3DX10CompileFromFileA(pSrcFile:LPCSTR;pDefines:access constant D3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromFileA";
function D3DX10CompileFromFile(pSrcFile:LPCSTR;pDefines:access constant D3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromFileA";
function D3DX10CompileFromFileW(pSrcFile:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromFileW";
function D3DX10CompileFromResourceA(hSrcModule:HMODULE;pSrcResource:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromResourceA";
function D3DX10CompileFromResource(hSrcModule:HMODULE;pSrcResource:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromResourceA";
function D3DX10CompileFromResourceW(hSrcModule:HMODULE;pSrcResource:LPCWSTR;pSrcFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromResourceW";
function D3DX10CompileFromMemory(pSrcData:LPCSTR;SrcDataLen:SIZE_T;pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;pPump:LPID3DX10ThreadPump;ppShader:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CompileFromMemory";
function D3DX10CreateEffectFromFileA(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromFileA";
function D3DX10CreateEffectFromFile(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromFileA";
function D3DX10CreateEffectFromFileW(pFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromFileW";
function D3DX10CreateEffectFromMemory(pData:LPCVOID;DataLength:SIZE_T;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromMemory";
function D3DX10CreateEffectFromResourceA(hModule:Windef.HMODULE;pResourceName:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromResourceA";
function D3DX10CreateEffectFromResource(hModule:Windef.HMODULE;pResourceName:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromResourceA";
function D3DX10CreateEffectFromResourceW(hModule:Windef.HMODULE;pResourceName:LPCWSTR;pSrcFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pEffectPool:LPID3D10EffectPool;pPump:LPID3DX10ThreadPump;ppEffect:LPLPID3D10Effect;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectFromResourceW";
function D3DX10CreateEffectPoolFromFileA(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromFileA";
function D3DX10CreateEffectPoolFromFile(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromFileA";
function D3DX10CreateEffectPoolFromFileW(pFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromFileW";
function D3DX10CreateEffectPoolFromMemory(pData:LPCVOID;DataLength:SIZE_T;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromMemory";
function D3DX10CreateEffectPoolFromResourceA(hModule:Windef.HMODULE;pResourceName:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromResourceA";
function D3DX10CreateEffectPoolFromResource(hModule:Windef.HMODULE;pResourceName:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromResourceA";
function D3DX10CreateEffectPoolFromResourceW(hModule:Windef.HMODULE;pResourceName:LPCWSTR;pSrcFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPID3D10Include;pProfile:LPCSTR;HLSLFlags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPump:LPID3DX10ThreadPump;ppEffectPool:LPLPID3D10EffectPool;ppErrors:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateEffectPoolFromResourceW";
function D3DX10PreprocessShaderFromFileA(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromFileA";
function D3DX10PreprocessShaderFromFile(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromFileA";
function D3DX10PreprocessShaderFromFileW(pFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromFileW";
function D3DX10PreprocessShaderFromMemory(pSrcData:LPCSTR;SrcDataSize:SIZE_T;pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromMemory";
function D3DX10PreprocessShaderFromResourceA(hModule:Windef.HMODULE;pResourceName:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromResourceA";
function D3DX10PreprocessShaderFromResource(hModule:Windef.HMODULE;pResourceName:LPCSTR;pSrcFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromResourceA";
function D3DX10PreprocessShaderFromResourceW(hModule:Windef.HMODULE;pResourceName:LPCWSTR;pSrcFileName:LPCWSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pPump:LPID3DX10ThreadPump;ppShaderText:LPLPID3D10Blob;ppErrorMsgs:LPLPID3D10Blob;pHResult:LPHRESULT) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10PreprocessShaderFromResourceW";
function D3DX10CreateAsyncCompilerProcessor(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pFunctionName:LPCSTR;pProfile:LPCSTR;Flags1:UINT;Flags2:UINT;ppCompiledShader:LPLPID3D10Blob;ppErrorBuffer:LPLPID3D10Blob;ppProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncCompilerProcessor";
function D3DX10CreateAsyncEffectCreateProcessor(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pProfile:LPCSTR;Flags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;pPool:LPID3D10EffectPool;ppErrorBuffer:LPLPID3D10Blob;ppProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncEffectCreateProcessor";
function D3DX10CreateAsyncEffectPoolCreateProcessor(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;pProfile:LPCSTR;Flags:UINT;FXFlags:UINT;pDevice:LPID3D10Device;ppErrorBuffer:LPLPID3D10Blob;ppProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncEffectPoolCreateProcessor";
function D3DX10CreateAsyncShaderPreprocessProcessor(pFileName:LPCSTR;pDefines:LPCD3D10_SHADER_MACRO;pInclude:LPD3D10INCLUDE;ppShaderText:LPLPID3D10Blob;ppErrorBuffer:LPLPID3D10Blob;ppProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncShaderPreprocessProcessor";
function D3DX10CreateAsyncFileLoaderW(pFileName:LPCWSTR;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncFileLoaderW";
function D3DX10CreateAsyncFileLoaderA(pFileName:LPCSTR;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncFileLoaderA";
function D3DX10CreateAsyncFileLoader(pFileName:LPCSTR;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncFileLoaderA";
function D3DX10CreateAsyncMemoryLoader(pData:LPCVOID;cbData:SIZE_T;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncMemoryLoader";
function D3DX10CreateAsyncResourceLoaderW(hSrcModule:HMODULE;pSrcResource:LPCWSTR;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncResourceLoaderW";
function D3DX10CreateAsyncResourceLoaderA(hSrcModule:HMODULE;pSrcResource:LPCSTR;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncResourceLoaderA";
function D3DX10CreateAsyncResourceLoader(hSrcModule:HMODULE;pSrcResource:LPCSTR;ppDataLoader:LPLPID3DX10DataLoader) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncResourceLoaderA";
function D3DX10CreateAsyncTextureProcessor(pDevice:LPID3D10Device;pLoadInfo:LPD3DX10_IMAGE_LOAD_INFO;ppDataProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncTextureProcessor";
function D3DX10CreateAsyncTextureInfoProcessor(pImageInfo:LPD3DX10_IMAGE_INFO;ppDataProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncTextureInfoProcessor";
function D3DX10CreateAsyncShaderResourceViewProcessor(pDevice:LPID3D10Device;pLoadInfo:LPD3DX10_IMAGE_LOAD_INFO;ppDataProcessor:LPLPID3DX10DataProcessor) return HRESULT with Import,Convention=>stdcall,external_name=>"D3DX10CreateAsyncShaderResourceViewProcessor";
--
-- THE END.
--
end d3dx10async;