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.
 
 
 
 
 
 

37 lines
1003 B

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1999.
//
// File: L O C K D O W N . H
//
// Contents: Routines to get and set components that are in a lockdown
// state. A component goes into lockdown when it requires a
// reboot on removal. When a component is locked down, it
// cannot be installed until after the next reboot.
//
// Notes:
//
// Author: shaunco 24 May 1999
//
//----------------------------------------------------------------------------
#pragma once
typedef VOID
(CALLBACK* PFN_ELDC_CALLBACK) (
IN PCWSTR pszInfId,
IN PVOID pvCallerData OPTIONAL);
VOID
EnumLockedDownComponents (
IN PFN_ELDC_CALLBACK pfnCallback,
IN PVOID pvCallerData OPTIONAL);
BOOL
FIsComponentLockedDown (
IN PCWSTR pszInfId);
VOID
LockdownComponentUntilNextReboot (
IN PCWSTR pszInfId);