mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 15:31:36 +00:00
[SDK:CMLIB] HvGetCell is a macro calling the hive's GetCellRoutine callback.
In principle there should be different get-cell routines, depending on the type of the hive (given by the OperationType parameter of HvInitialize): for flat hives, memory-mapped hives, etc. For now in ReactOS we only support a restricted subset of these, therefore we are still happy with a single get-cell callback... This may change in the future.
This commit is contained in:
parent
a4cad7be6b
commit
8ccd435eb0
3 changed files with 24 additions and 17 deletions
|
@ -562,6 +562,11 @@ HvInitialize(
|
|||
#endif
|
||||
Hive->HiveFlags = HiveFlags & ~HIVE_NOLAZYFLUSH;
|
||||
|
||||
// TODO: The CellRoutines point to different callbacks
|
||||
// depending on the OperationType.
|
||||
Hive->GetCellRoutine = HvpGetCellData;
|
||||
Hive->ReleaseCellRoutine = NULL;
|
||||
|
||||
switch (OperationType)
|
||||
{
|
||||
case HINIT_CREATE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue