ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Classes | |
struct | _BOOT_DRIVER_NODE |
Typedefs | |
typedef struct _BOOT_DRIVER_NODE | BOOT_DRIVER_NODE |
typedef struct _BOOT_DRIVER_NODE * | PBOOT_DRIVER_NODE |
Functions | |
HCELL_INDEX NTAPI | CmpFindControlSet (_In_ PHHIVE SystemHive, _In_ HCELL_INDEX RootCell, _In_ PCUNICODE_STRING SelectKeyName, _Out_ PBOOLEAN AutoSelect) |
Finds the corresponding "HKLM\SYSTEM\ControlSetXXX" system control set registry key, according to the "Current", "Default", or "LastKnownGood" values in the "HKLM\SYSTEM\Select" registry key. | |
BOOLEAN NTAPI | CmpFindDrivers (_In_ PHHIVE Hive, _In_ HCELL_INDEX ControlSet, _In_ SERVICE_LOAD_TYPE LoadType, _In_opt_ PCWSTR BootFileSystem, _Inout_ PLIST_ENTRY DriverListHead) |
Enumerates all drivers within the given control set and load type, present in the "Services" sub-key, and inserts them into the driver list. | |
BOOLEAN NTAPI | CmpSortDriverList (_In_ PHHIVE Hive, _In_ HCELL_INDEX ControlSet, _Inout_ PLIST_ENTRY DriverListHead) |
Sorts the driver list, according to the drivers' group load ordering. | |
BOOLEAN NTAPI | CmpResolveDriverDependencies (_Inout_ PLIST_ENTRY DriverListHead) |
Removes potential circular dependencies (cycles) and sorts the driver list. | |
VOID NTAPI | CmpFreeDriverList (_In_ PHHIVE Hive, _Inout_ PLIST_ENTRY DriverListHead) |
Empties the driver list and frees all allocated driver nodes in it. | |
typedef struct _BOOT_DRIVER_NODE BOOT_DRIVER_NODE |
typedef struct _BOOT_DRIVER_NODE * PBOOT_DRIVER_NODE |
HCELL_INDEX NTAPI CmpFindControlSet | ( | _In_ PHHIVE | SystemHive, |
_In_ HCELL_INDEX | RootCell, | ||
_In_ PCUNICODE_STRING | SelectKeyName, | ||
_Out_ PBOOLEAN | AutoSelect | ||
) |
Finds the corresponding "HKLM\SYSTEM\ControlSetXXX" system control set registry key, according to the "Current", "Default", or "LastKnownGood" values in the "HKLM\SYSTEM\Select" registry key.
[in] | SystemHive | The SYSTEM hive. |
[in] | RootCell | The root cell of the SYSTEM hive. |
[in] | SelectKeyName | The control set to check for: either "Current", "Default", or "LastKnownGood", the value of which selects the corresponding "HKLM\SYSTEM\ControlSetXXX" control set registry key. |
[out] | AutoSelect | Value of the "AutoSelect" registry value (unused). |
Definition at line 84 of file cmboot.c.
Referenced by CmGetSystemControlValues(), CmGetSystemDriverList(), and RegInitCurrentControlSet().
BOOLEAN NTAPI CmpFindDrivers | ( | _In_ PHHIVE | Hive, |
_In_ HCELL_INDEX | ControlSet, | ||
_In_ SERVICE_LOAD_TYPE | LoadType, | ||
_In_opt_ PCWSTR | BootFileSystem, | ||
_Inout_ PLIST_ENTRY | DriverListHead | ||
) |
Enumerates all drivers within the given control set and load type, present in the "Services" sub-key, and inserts them into the driver list.
[in] | Hive | The SYSTEM hive. |
[in] | ControlSet | The control set registry key's hive cell. |
[in] | LoadType | The load type the driver should match. |
[in] | BootFileSystem | Optional name of the boot file system, for which to insert its corresponding driver. |
[in,out] | DriverListHead | The driver list where to insert the enumerated drivers. |
Definition at line 679 of file cmboot.c.
Referenced by CmGetSystemDriverList(), and WinLdrScanRegistry().
Empties the driver list and frees all allocated driver nodes in it.
[in] | Hive | The SYSTEM hive (used only for the Hive->Free() memory deallocator). |
[in,out] | DriverListHead | The driver list to free. |
Definition at line 1224 of file cmboot.c.
Referenced by CmGetSystemDriverList(), and WinLdrScanRegistry().
BOOLEAN NTAPI CmpResolveDriverDependencies | ( | _Inout_ PLIST_ENTRY | DriverListHead | ) |
Removes potential circular dependencies (cycles) and sorts the driver list.
[in,out] | DriverListHead | The driver list to sort. |
Definition at line 1030 of file cmboot.c.
Referenced by CmGetSystemDriverList(), and WinLdrScanRegistry().
BOOLEAN NTAPI CmpSortDriverList | ( | _In_ PHHIVE | Hive, |
_In_ HCELL_INDEX | ControlSet, | ||
_Inout_ PLIST_ENTRY | DriverListHead | ||
) |
Sorts the driver list, according to the drivers' group load ordering.
[in] | Hive | The SYSTEM hive. |
[in] | ControlSet | The control set registry key's hive cell. |
[in,out] | DriverListHead | The driver list to sort. |
Definition at line 902 of file cmboot.c.
Referenced by CmGetSystemDriverList(), and WinLdrScanRegistry().