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.
 
 
 
 
 
 

45 lines
759 B

#include "faxmapip.h"
#pragma hdrstop
HINSTANCE MyhInstance;
BOOL ServiceDebug;
PSERVICEMESSAGEBOX ServiceMessageBox;
extern "C"
DWORD
FaxMapiDllInit(
IN HINSTANCE hInstance,
IN DWORD Reason,
IN LPVOID Context
)
{
if (Reason == DLL_PROCESS_ATTACH) {
MyhInstance = hInstance;
DisableThreadLibraryCalls( hInstance );
}
return TRUE;
}
extern "C"
BOOL WINAPI
FaxMapiInitialize(
IN HANDLE HeapHandle,
IN PSERVICEMESSAGEBOX pServiceMessageBox,
IN BOOL DebugService
)
{
ServiceMessageBox = pServiceMessageBox;
ServiceDebug = DebugService;
HeapInitialize(HeapHandle,NULL,NULL,0);
InitializeStringTable();
InitializeEmail();
return TRUE;
}