Return Value is 3.
I finded the 3 means EVERYTHING_ERROR_REGISTERCLASSEX ----->unable to register window class.
Code: Select all
int main(int argc,char **argv)
{
printf("SDK test\n");
Everything_SetSearchW(L"brindy");
Everything_SetRequestFlags(EVERYTHING_REQUEST_FILE_NAME|EVERYTHING_REQUEST_PATH|EVERYTHING_REQUEST_SIZE);
Everything_SetSort(EVERYTHING_SORT_SIZE_DESCENDING);
printf("Execute Query\n");
Everything_QueryW(TRUE);
printf("Result List Request Flags %08x\n",Everything_GetResultListRequestFlags());
{
DWORD i = 0;
DWORD relt = Everything_GetNumResults();
for(i=0;i<relt;i++)
{
LARGE_INTEGER size;
const wchar_t *filename;
const wchar_t *path;
Everything_GetResultSize(i,&size);
filename = Everything_GetResultFileNameW(i);
path = Everything_GetResultPathW(i);
printf("Name: %S\n",filename);
printf("Path: %S\n",path);
printf("Size: %I64u\n",size.QuadPart);
}
}
I don't know What is the error meaning?