Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

30 lines
587 B

// File: cb32stub.cpp
#include <windows.h>
#include <tchar.h>
#include "SDKInternal.h"
#ifdef _DEBUG
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hInstPrev, LPSTR lpCmdLine, int nCmdShow)
#else // _DEBUG
int __cdecl main()
#endif // _DEBUG
{
CoInitialize(NULL);
IInternalConfExe* pConf = NULL;
if(SUCCEEDED(CoCreateInstance(CLSID_NmManager, NULL, CLSCTX_LOCAL_SERVER, IID_IInternalConfExe, reinterpret_cast<void**>(&pConf))))
{
pConf->LaunchApplet(NM_APPID_CHAT, NULL);
pConf->Release();
}
CoUninitialize();
#ifndef _DEBUG
ExitProcess(0);
#endif
return 0;
}