windows-nt/Source/XPSP1/NT/shell/osshell/accessib/utilman/_umrun.h
2020-09-26 16:20:57 +08:00

36 lines
1.2 KiB
C

// ----------------------------------------------------------------------------
//
// _UMRun.h
//
// Run and watch Utility Manager clients
//
// Author: J. Eckhardt, ECO Kommunikation
// (c) 1997-99 Microsoft
//
// History: created oct-98 by JE
// JE nov-15-98: changed UMDialog message to be a service control message
// JE nov-15 98: changed to support launch specific client
// ----------------------------------------------------------------------------
#ifndef __UMANRUN_H_
#define __UMANRUN_H_
#define UTILMAN_MODULE TEXT("UtilMan.exe")
// -----------------------
BOOL InitUManRun(BOOL fFirstInstance, DWORD dwStartMode);
void ExitUManRun(void);
BOOL IsDialogDisplayed();
// -----------------------
BOOL NotifyClientsBeforeDesktopChanged(DWORD dwType);
BOOL NotifyClientsOnDesktopChanged(DWORD type);
extern HANDLE g_evUtilManDeskswitch;
// -----------------------
VOID CALLBACK UMTimerProc(HWND hwnd,UINT uMsg,UINT_PTR idEvent,DWORD dwTime);
BOOL OpenUManDialogInProc(BOOL fWaitForDlgClose);
UINT_PTR UManRunSwitchDesktop(desktop_tsp desktop, UINT_PTR timerID);
// -----------------------
// UitlMan.c
VOID TerminateUMService(VOID);
#endif __UMANRUN_H_