Skip to content

Commit bd01fa5

Browse files
committed
try another way to emit an hresult
1 parent a144ca1 commit bd01fa5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/DxcSupport/dxcapi.extval.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ HRESULT DxcDllExtValidationSupport::InitializeInternal(LPCSTR fnName) {
4242

4343
// Check if path is absolute and exists
4444
if (!DllPath.is_absolute() || !std::filesystem::exists(DllPath)) {
45-
return ERROR_DLL_INIT_FAILED;
45+
// ERROR_DLL_INIT_FAILED
46+
return (HRESULT)1114L;
4647
}
4748
// code that calls this function is responsible for checking
4849
// to see if dxil.dll is successfully loaded.

0 commit comments

Comments
 (0)