AutoBackups/Everything-SDK/example/dll.test.cpp

26 lines
802 B
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.


// Everything IPC test
// this tests the lib and the dll.
#include <iostream>
using namespace std;
#include "..\include\Everything.h"
int main(int argc,char **argv)
{
Everything_SetSearchW(L"hello");
Everything_QueryW(TRUE);
{
DWORD i;
for(i=0;i<Everything_GetNumResults();i++)
{
wcout << Everything_GetResultFileNameW(i) << L"\n";
}
}
return 0;
}