Changeset 213


Ignore:
Timestamp:
11/10/09 19:57:35 (2 years ago)
Author:
mickem
Message:

minor updates (will keep at this for a while now...)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/strEx.h

    r208 r213  
    274274  } 
    275275*/ 
    276   static const __int64 SECS_BETWEEN_EPOCHS = 11644473600; 
    277   static const __int64 SECS_TO_100NS = 10000000; 
     276  static const unsigned long long SECS_BETWEEN_EPOCHS = 11644473600; 
     277  static const unsigned long long SECS_TO_100NS = 10000000; 
    278278 
    279279  inline std::wstring format_filetime(unsigned long long filetime, std::wstring format = _T("%Y-%m-%d %H:%M:%S")) { 
  • trunk/service/NSClient++.cpp

    r211 r213  
    975975  exitCore(true); 
    976976} 
    977  
     977#ifdef WIN32x 
    978978/** 
    979979 * Forward this to the main service dispatcher helper class 
     
    10001000  mainClient.service_ctrl_ex(dwCtrlCode, NULL, NULL, NULL); 
    10011001} 
    1002  
     1002#endif 
    10031003 
    10041004void NSClientT::service_on_session_changed(unsigned long dwSessionId, bool logon, unsigned long dwEventType) { 
  • trunk/service/NSClient++.h

    r211 r213  
    137137  bool initCore(bool boot); 
    138138  bool exitCore(bool boot); 
     139#ifdef WIN32x 
    139140  static void WINAPI service_main_dispatch(DWORD dwArgc, LPTSTR *lpszArgv); 
    140141  static void WINAPI service_ctrl_dispatch(DWORD dwCtrlCode); 
    141142  static DWORD WINAPI service_ctrl_dispatch_ex(DWORD dwControl, DWORD dwEventType, LPVOID lpEventData, LPVOID lpContext); 
     143#endif 
    142144  void service_on_session_changed(DWORD dwSessionId, bool logon, DWORD dwEventType); 
    143145 
Note: See TracChangeset for help on using the changeset viewer.