mirror of https://github.com/lianthony/NT4.0
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.
78 lines
1.1 KiB
78 lines
1.1 KiB
/*++
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
depend.h
|
|
|
|
Abstract:
|
|
|
|
Service dependencies related function prototypes.
|
|
|
|
Author:
|
|
|
|
Rita Wong (ritaw) 03-Apr-1992
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#ifndef SCDEPEND_INCLUDED
|
|
#define SCDEPEND_INCLUDED
|
|
|
|
//
|
|
// Function Prototypes
|
|
//
|
|
|
|
BOOL
|
|
ScInitAutoStart(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
ScEndAutoStart(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
ScAutoStartServices(
|
|
VOID
|
|
);
|
|
|
|
DWORD
|
|
ScStartServiceAndDependencies(
|
|
IN LPSERVICE_RECORD ServiceToStart OPTIONAL,
|
|
IN DWORD NumArgs,
|
|
IN LPSTRING_PTRSW CmdArgs
|
|
);
|
|
|
|
BOOL
|
|
ScDependentsStopped(
|
|
IN LPSERVICE_RECORD ServiceToStop
|
|
);
|
|
|
|
VOID
|
|
ScNotifyChangeState(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
ScEnumDependents(
|
|
IN LPSERVICE_RECORD ServiceRecord,
|
|
IN LPENUM_SERVICE_STATUSW EnumBuffer,
|
|
IN DWORD RequestedState,
|
|
IN OUT LPDWORD EntriesRead,
|
|
IN OUT LPDWORD BytesNeeded,
|
|
IN OUT LPENUM_SERVICE_STATUSW *EnumRecord,
|
|
IN OUT LPWSTR *EndOfVariableData,
|
|
IN OUT LPDWORD Status
|
|
);
|
|
|
|
BOOL
|
|
ScInHardwareProfile(
|
|
IN LPSERVICE_RECORD Service,
|
|
IN ULONG GetDeviceListFlags
|
|
);
|
|
|
|
#endif // #ifndef SCDEPEND_INCLUDED
|