Platform SDK: Exchange Server

HrGetExchangeStatus

The HrGetExchangeStatus function obtains the current state of the server on a computer.

Quick Info

Header file: EDKUTILS.H
Library: EDKUTILS.LIB

HRESULT HrGetExchangeStatus(
  LPTSTR lpszMachineName,  
  DWORD *lpdwService,  
  DWORD *lpdwCurrentState  
);
 

Parameters

lpszMachineName
Input parameter. Points to the computer name.
lpdwService
Output parameter. Points to the service on the computer.
lpdwCurrentState
Output parameter. Points to the current state of the server.

Return Values

See Return Values.

See Also

FServiceReportStatus