Source code of Windows XP (NT5)
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.

29 lines
1.0 KiB

  1. // include semi-private header
  2. #include <shlobj.h>
  3. #include <shlobjp.h>
  4. /****************************************************
  5. Option flags (dwFlags)
  6. ----------------------
  7. ****************************************************/
  8. #define SHTDN_NOHELP 0x000000001
  9. #define SHTDN_NOPALETTECHANGE 0x000000002
  10. #define SHTDN_NOBRANDINGBITMAP 0x000000004
  11. //
  12. // Policy flags
  13. //
  14. #define POLICY_SHOWREASONUI_NEVER 0
  15. #define POLICY_SHOWREASONUI_ALWAYS 1
  16. #define POLICY_SHOWREASONUI_WORKSTATIONONLY 2
  17. #define POLICY_SHOWREASONUI_SERVERONLY 3
  18. // Private function prototypes
  19. DWORD ShutdownDialog(HWND hwndParent, DWORD dwItems, DWORD dwItemSelect,
  20. LPCTSTR szUsername, DWORD dwFlags, HANDLE hWlx,
  21. PWLX_DIALOG_BOX_PARAM pfnWlxDialogBoxParam);
  22. INT_PTR WinlogonShutdownDialog( HWND hwndParent, PGLOBALS pGlobals, DWORD dwExcludeItems );
  23. INT_PTR WinlogonDirtyDialog( HWND hwndParent, PGLOBALS pGlobals );
  24. DWORD GetSessionCount();