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.

76 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. depend.h
  5. Abstract:
  6. Service dependencies related function prototypes.
  7. Author:
  8. Rita Wong (ritaw) 03-Apr-1992
  9. Revision History:
  10. --*/
  11. #ifndef SCDEPEND_INCLUDED
  12. #define SCDEPEND_INCLUDED
  13. #include <scwow.h>
  14. //
  15. // Function Prototypes
  16. //
  17. BOOL
  18. ScInitAutoStart(
  19. VOID
  20. );
  21. DWORD
  22. ScAutoStartServices(
  23. IN OUT LPSC_RPC_LOCK lpLock
  24. );
  25. DWORD
  26. ScStartServiceAndDependencies(
  27. IN LPSERVICE_RECORD ServiceToStart OPTIONAL,
  28. IN DWORD NumArgs,
  29. IN LPSTRING_PTRSW CmdArgs,
  30. IN BOOL fIsOOBE
  31. );
  32. BOOL
  33. ScDependentsStopped(
  34. IN LPSERVICE_RECORD ServiceToStop
  35. );
  36. VOID
  37. ScNotifyChangeState(
  38. VOID
  39. );
  40. VOID
  41. ScEnumDependents(
  42. IN LPSERVICE_RECORD ServiceRecord,
  43. IN LPENUM_SERVICE_STATUS_WOW64 EnumBuffer,
  44. IN DWORD RequestedState,
  45. IN OUT LPDWORD EntriesRead,
  46. IN OUT LPDWORD BytesNeeded,
  47. IN OUT LPENUM_SERVICE_STATUS_WOW64 *EnumRecord,
  48. IN OUT LPWSTR *EndOfVariableData,
  49. IN OUT LPDWORD Status
  50. );
  51. BOOL
  52. ScInHardwareProfile(
  53. IN LPCWSTR ServiceName,
  54. IN ULONG GetDeviceListFlags
  55. );
  56. #endif // #ifndef SCDEPEND_INCLUDED