Leaked source code of windows server 2003
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.
 
 
 
 
 
 

33 lines
576 B

#define DEFINE_STRCONST
#define INITGUID
#define INC_OLE2
#include <windows.h>
#include <initguid.h>
#include <mimeole.h>
#include "main.h"
#include "trawler.h"
#include "stdio.h"
UINT g_msgNNTP;
void __cdecl main(int argc, char *argv[])
{
CTrawler *pTrawler;
if (FAILED(OleInitialize(NULL)))
{
printf("CoInit failed\n\r");
return;
}
if (HrCreateTrawler(&pTrawler)==S_OK)
{
pTrawler->DoTrawl();
pTrawler->Close();
pTrawler->Release();
}
OleUninitialize();
return;
}