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.
26 lines
898 B
26 lines
898 B
//--------------------------------------------------------------------------;
|
|
//
|
|
// File: start.h
|
|
//
|
|
// Copyright (c) 2002 Microsoft Corporation. All rights reserved
|
|
//
|
|
//
|
|
//--------------------------------------------------------------------------;
|
|
|
|
#ifndef AUDIOSTART_HEADER
|
|
#define AUDIOSTART_HEADER
|
|
|
|
#define REGSTR_TEMP_REBOOT TEXT("SYSTEM\\Setup\\OptionalComponents\\AudStart")
|
|
|
|
#define CREDUI_TITLE_MAX_LENGTH 128
|
|
#define CREDUI_PROMPT_MAX_LENGTH 512
|
|
#define CREDUI_REBOOT_TITLE_MAX_LENGTH 128
|
|
#define CREDUI_REBOOT_PROMPT_MAX_LENGTH 1024
|
|
|
|
extern BOOL AudioServiceStarted(void);
|
|
extern BOOL RebootNeeded(void);
|
|
extern DWORD RebootSystem(HWND hDlg, BOOL fUseThreadToken, BOOL fAskUser, BOOL fDisplayPrivilegeError);
|
|
extern HANDLE GetAdminPrivilege(UINT);
|
|
extern void ReleaseAdminPrivilege(HANDLE hToken);
|
|
|
|
#endif // AUDIOSTART_HEADER
|