Hi @Gurjinder Singh Gill ,
After reviewing your questions and the available Microsoft documents, here are my answers:
The public WHP documentation does not define a supported mechanism for a separate read-only process to bind to an exact partition before teardown and independently verify its deletion after the controller is lost. The published Windows Hypervisor Platform API Definitions provide no partition enumeration, open-by-identity operation, or partition-deletion event/wait contract.
The relevant contracts are:
- Identity and access: WHvCreatePartition returns
WHV_PARTITION_HANDLE, defined asVOID*, through which all partition operations are performed. It does not define a stable external partition identity, cross-process transfer contract, or waitable lifetime semantics. The generic DuplicateHandle documentation does not establish those semantics for WHP partition handles. - Deletion: WHvDeletePartition documents that successful completion (
S_OK) removes the partition object and releases its resources. It does not provide an independent observer notification or post-deletion verification API. - Properties and notifications: WHvGetPartitionProperty requires a partition handle and queries a property, not deletion completion. Notification Port Data Types define signals for guest hypercalls or matching guest-memory writes, not partition deletion. WHvDeleteNotificationPort says deletion stops further signaling, not that it signals teardown completion.
Therefore, if the deletion caller and its result are lost, these documented contracts do not give another process authoritative proof that the same partition was deleted. This is a documentation-based conclusion, not a claim about undocumented implementation behavior on build 26300.9711.
I hope this helps answering your questions. If you find my response helpful, I would greatly appreciate it if you could follow the guide here so others experiencing similar behavior or issue can benefit from it as well.