Platform SDK: Exchange Server

HrGWStartNewFileHandler

The HrGWStartNewFileHandler function starts a thread to process new files.

Quick Info

Header file: GWMAIN.H
Library: GWMAIN.LIB
Unicode: Yes

HRESULT HrGWStartNewFileHandler(
  DWORD dwSubmitInterval,                
  DWORD dwPollingInterval,               
  DWORD cMessages,                       
  DWORD cThreads,                        
  LPCTSTR lpszAddrType,                  
  LPCTSTR lpszFileMask,                  
  LPCTSTR lpszPath,                      
  LPTHREAD_START_ROUTINE lpStartAddress  
);
 

Parameters

dwSubmitInterval
Input parameter. Submit interval.
dwPollingInterval
Input parameter. Polling interval.
cMessages
Input parameter. Number of messages per thread.
cThreads
Input parameter. Number of threads.
lpszAddrType
Input parameter. Address type.
lpszFileMask
Input parameter. File mask.
lpszPath
Input parameter. Path.
lpStartAddress
Input parameter. Points to a THREAD_START_ROUTINE, which identifies the function that processes the new file.

Return Values

See Return Values.

See Also

FreeThreadParameter, HrGWStartNewMailHandler