#include #include "shelldrt.h" #include "dbg.h" static const WCHAR szTestName[] = TEXT("Safe String Test"); // from td_sfstr.cpp int DoTest(int argc, wchar_t* argv[]); BOOL CALLBACK SHTestProc() { return DoTest(0, NULL); } // SHTESTLISTPROC // // Each test dll exports this function, which describes the tests // it contains (or returns just a count if the arg passed to is is null DWORD CALLBACK ListTestProcs(SHTESTDESCRIPTOR* prgpshtd) { if (prgpshtd) { prgpshtd->_cbSize = sizeof(prgpshtd); prgpshtd->_pszTestName = szTestName; prgpshtd->_pfnTestProc = SHTestProc; // ???? prgpshtd->_dwAttribs = 0; } return 1; }