Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
HvCallGetNextChildPartition enumerates child partitions of the calling partition. This hypercall allows a parent partition to discover and iterate through all of its child partitions.
Interface
HV_STATUS
HvCallGetNextChildPartition(
_In_ HV_PARTITION_ID ParentPartitionId,
_In_ HV_PARTITION_ID PreviousChildPartitionId,
_Out_ HV_PARTITION_ID* NextChildPartitionId
);
Call Code
0x0047 (Simple)
Notes
- Specify
HV_PARTITION_ID_INVALIDforPreviousChildPartitionIdto start the enumeration. - Set
PreviousChildPartitionId=NextChildPartitionIdto get the next partition. - The hypercall returns
HV_PARTITION_ID_INVALIDwhen there are no more partitions to enumerate.
Input Parameters
| Name | Offset | Size | Information Provided |
|---|---|---|---|
| ParentPartitionId | 0 | 8 | Parent (or SELF) |
| PreviousChildPartitionId | 8 | 8 | Last returned child or HV_PARTITION_ID_INVALID |
Output Parameters
| Name | Offset | Size | Information Provided |
|---|---|---|---|
| NextChildPartitionId | 0 | 8 | Next child or HV_PARTITION_ID_INVALID if end |