mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:55:44 +00:00
[RAPPS] cmdline enhancement (#3087)
* [RAPPS] now command-line option supports begin with both / and - * [RAPPS] Add help command with /? * [RAPPS] add /find command * [RAPPS] add /info option * [RAPPS] add copyright and contact e-mail
This commit is contained in:
parent
997650d424
commit
7a11c65561
35 changed files with 612 additions and 90 deletions
|
@ -522,3 +522,11 @@ void UnixTimeToFileTime(DWORD dwUnixTime, LPFILETIME pFileTime)
|
|||
pFileTime->dwLowDateTime = (DWORD)ll;
|
||||
pFileTime->dwHighDateTime = ll >> 32;
|
||||
}
|
||||
|
||||
BOOL SearchPatternMatch(LPCWSTR szHaystack, LPCWSTR szNeedle)
|
||||
{
|
||||
if (!*szNeedle)
|
||||
return TRUE;
|
||||
/* TODO: Improve pattern search beyond a simple case-insensitive substring search. */
|
||||
return StrStrIW(szHaystack, szNeedle) != NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue