Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use partition_type_property descriptor in DPCTLDevice_GetParentDevice
This allows to test that the device is an unpartition device without raising and handling the C++ exception. If info::device::partition_type_property is info::partition_property::no_partition then retrieving the parent_device descriptor will throw.
- Loading branch information