diff options
author | Ladislav Zezula <zezula@volny.cz> | 2025-07-03 09:27:16 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2025-07-03 09:27:16 +0200 |
commit | 486a7dd29f3bdf884d4be5588d9171daa5da1bae (patch) | |
tree | 95d9d099a84a3587412eecffd2485da99820916b /src/StormLib.h | |
parent | b41cda40f9c3fbdb802cf63e739425cd805eecaa (diff) |
Replaced GetLastError with SErrGetLastError
Diffstat (limited to 'src/StormLib.h')
-rw-r--r-- | src/StormLib.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/StormLib.h b/src/StormLib.h index 4392bc0..e1db062 100644 --- a/src/StormLib.h +++ b/src/StormLib.h @@ -631,10 +631,10 @@ typedef struct _TMPQHeader typedef struct _TMPQHash { // The hash of the file path, using method A. - DWORD dwName1; + DWORD dwHashCheck1; // The hash of the file path, using method B. - DWORD dwName2; + DWORD dwHashCheck2; #ifdef STORMLIB_LITTLE_ENDIAN @@ -645,11 +645,11 @@ typedef struct _TMPQHash // The platform the file is used for. 0 indicates the default platform. // No other values have been observed. BYTE Platform; - BYTE Reserved; + BYTE Flags; #else - BYTE Reserved; + BYTE Flags; BYTE Platform; USHORT Locale; @@ -1158,14 +1158,10 @@ DWORD WINAPI SMemFileNameToUTF8( size_t * pOutLength); // Pointer to a variable that receives the needed length in bytes (optional) //----------------------------------------------------------------------------- -// Non-Windows support for SetLastError/GetLastError +// Stormlib-specific support for SetLastError/GetLastError -#ifndef STORMLIB_WINDOWS - -void SetLastError(DWORD dwErrCode); -DWORD GetLastError(); - -#endif +void SErrSetLastError(DWORD dwErrCode); +DWORD SErrGetLastError(); //----------------------------------------------------------------------------- // Functions from Storm.dll. They use slightly different names for keeping |