mirror of
https://github.com/vxunderground/VX-API
synced 2024-06-16 03:48:34 +00:00
Update RfGetFileSizeFromPathDisposeHandle.cpp
This commit is contained in:
parent
39661de600
commit
1c46d8c3a6
@ -11,6 +11,7 @@ LONGLONG RfGetFileSizeFromPathDisposeHandleW(PWCHAR Path, DWORD dwFlagsAndAttrib
|
|||||||
{
|
{
|
||||||
if (hHandle)
|
if (hHandle)
|
||||||
CloseHandle(hHandle);
|
CloseHandle(hHandle);
|
||||||
|
|
||||||
return LargeInteger.QuadPart;
|
return LargeInteger.QuadPart;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ LONGLONG RfGetFileSizeFromPathDisposeHandleA(PCHAR Path, DWORD dwFlagsAndAttribu
|
|||||||
{
|
{
|
||||||
if (hHandle)
|
if (hHandle)
|
||||||
CloseHandle(hHandle);
|
CloseHandle(hHandle);
|
||||||
|
|
||||||
return LargeInteger.QuadPart;
|
return LargeInteger.QuadPart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user