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.

25 lines
898 B

  1. //--------------------------------------------------------------------------;
  2. //
  3. // File: start.h
  4. //
  5. // Copyright (c) 2002 Microsoft Corporation. All rights reserved
  6. //
  7. //
  8. //--------------------------------------------------------------------------;
  9. #ifndef AUDIOSTART_HEADER
  10. #define AUDIOSTART_HEADER
  11. #define REGSTR_TEMP_REBOOT TEXT("SYSTEM\\Setup\\OptionalComponents\\AudStart")
  12. #define CREDUI_TITLE_MAX_LENGTH 128
  13. #define CREDUI_PROMPT_MAX_LENGTH 512
  14. #define CREDUI_REBOOT_TITLE_MAX_LENGTH 128
  15. #define CREDUI_REBOOT_PROMPT_MAX_LENGTH 1024
  16. extern BOOL AudioServiceStarted(void);
  17. extern BOOL RebootNeeded(void);
  18. extern DWORD RebootSystem(HWND hDlg, BOOL fUseThreadToken, BOOL fAskUser, BOOL fDisplayPrivilegeError);
  19. extern HANDLE GetAdminPrivilege(UINT);
  20. extern void ReleaseAdminPrivilege(HANDLE hToken);
  21. #endif // AUDIOSTART_HEADER