mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
import KernelEx-4.5-Beta2
This commit is contained in:
@ -128,12 +128,12 @@ BOOL WINAPI WriteFile_fix(HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesTo
|
||||
UINT WINAPI GetTempFileNameA_fix(LPCSTR lpPathName, LPCSTR lpPrefixString, UINT uUnique, LPTSTR lpTempFileName)
|
||||
{
|
||||
static int g_tempprefix = 0;
|
||||
char temppref[2];
|
||||
|
||||
if (!lpPathName)
|
||||
lpPathName = "\\";
|
||||
if (!lpPrefixString)
|
||||
{
|
||||
char temppref[2];
|
||||
g_tempprefix++;
|
||||
g_tempprefix %= 5;
|
||||
temppref[0] = '0' + g_tempprefix;
|
||||
|
Reference in New Issue
Block a user