Leaked source code of windows server 2003
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.

35 lines
1.2 KiB

  1. // ----------------------------------------------------------------------------
  2. //
  3. // _UMRun.h
  4. //
  5. // Run and watch Utility Manager clients
  6. //
  7. // Author: J. Eckhardt, ECO Kommunikation
  8. // (c) 1997-99 Microsoft
  9. //
  10. // History: created oct-98 by JE
  11. // JE nov-15-98: changed UMDialog message to be a service control message
  12. // JE nov-15 98: changed to support launch specific client
  13. // ----------------------------------------------------------------------------
  14. #ifndef __UMANRUN_H_
  15. #define __UMANRUN_H_
  16. #define UTILMAN_MODULE TEXT("UtilMan.exe")
  17. // -----------------------
  18. BOOL InitUManRun(BOOL fFirstInstance, DWORD dwStartMode);
  19. void ExitUManRun(void);
  20. BOOL IsDialogDisplayed();
  21. // -----------------------
  22. BOOL NotifyClientsBeforeDesktopChanged(DWORD dwType);
  23. BOOL NotifyClientsOnDesktopChanged(DWORD type);
  24. extern HANDLE g_evUtilManDeskswitch;
  25. // -----------------------
  26. VOID CALLBACK UMTimerProc(HWND hwnd,UINT uMsg,UINT_PTR idEvent,DWORD dwTime);
  27. BOOL OpenUManDialogInProc(BOOL fWaitForDlgClose);
  28. UINT_PTR UManRunSwitchDesktop(desktop_tsp desktop, UINT_PTR timerID);
  29. // -----------------------
  30. // UitlMan.c
  31. VOID TerminateUMService(VOID);
  32. #endif __UMANRUN_H_