Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement support request #249

Open
gotspatel opened this issue Mar 22, 2022 · 0 comments
Open

Enhancement support request #249

gotspatel opened this issue Mar 22, 2022 · 0 comments

Comments

@gotspatel
Copy link

gotspatel commented Mar 22, 2022

How can this be incorporated to check for some specific exe/process (with wildcards) to be checked

CODE

VOID clip_exe()
{
	const TCHAR* szProcesses[] = {
		_T("clipdiary%"),
                _T("clipboard%"),
	};

	WORD iLength = sizeof(szProcesses) / sizeof(szProcesses[0]);
	for (int i = 0; i < iLength; i++)
	{
		TCHAR msg[256] = _T("");
		_stprintf_s(msg, sizeof(msg) / sizeof(TCHAR), _T("Checking Clip processes: %s"), szProcesses[i]);
		if (GetProcessIdFromName(szProcesses[i]))
			print_results(TRUE, msg);
		else
			print_results(FALSE, msg);
	}
}

CODE

any ideas please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant