mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
613 B
42 lines
613 B
/*++
|
|
|
|
Copyright (c) 2000-2001 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
Common.h
|
|
|
|
Abstract:
|
|
|
|
This file has common stuff among SMVTest, SMVDDLL and SMVSDLL.
|
|
|
|
Author:
|
|
|
|
Diaa Fathalla (DiaaF) 11-Dec-2000
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#ifndef _COMMON_H_
|
|
#define _COMMON_H_
|
|
|
|
#include "..\excluded\excluded.h"
|
|
LPCTSTR SHIM_TEST = TEXT("123");
|
|
|
|
extern "C" BOOL TestResults(LPCTSTR szTestStr)
|
|
{
|
|
TCHAR szTemp[MAX_PATH];
|
|
LPTSTR szReturn;
|
|
|
|
szReturn = NOT_HOOKEDGetCommandLine();
|
|
_tcscpy(szTemp, szReturn);
|
|
_tcscat(szTemp, SHIM_TEST);
|
|
|
|
if (_tcscmp(szTemp,szTestStr) == 0)
|
|
return TRUE;
|
|
|
|
return FALSE;
|
|
}
|
|
|
|
#endif
|