Update IsPathValidA.c
This commit is contained in:
parent
58d93e691e
commit
6af9456d94
|
@ -1,3 +1,24 @@
|
|||
/*
|
||||
|
||||
IsPathValid function
|
||||
|
||||
Summary:
|
||||
Determines if a file exists.
|
||||
|
||||
Parameters:
|
||||
A pointer to the full path to the file.
|
||||
|
||||
Return value:
|
||||
TRUE if file exists. FALSE if file does not exist or the application is unable to get a HANDLE on the file specified
|
||||
|
||||
Remarks:
|
||||
Use GetLastError() for details on failure
|
||||
|
||||
Author:
|
||||
smelly__vx | June 4th, 2021
|
||||
|
||||
*/
|
||||
|
||||
BOOL IsPathValidA(PCHAR FilePath)
|
||||
{
|
||||
HANDLE hFile = INVALID_HANDLE_VALUE;
|
||||
|
@ -10,4 +31,4 @@ BOOL IsPathValidA(PCHAR FilePath)
|
|||
CloseHandle(hFile);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue