There is a missing import, PropertyEvent for the callback_property function (in the example)
There is no index set for the GetPropertyData (default doesn't work?)
As well as a better description for the SetCapacity function (in the example)
The term "Computer" was used as people can have both HDDs and SSDs so computer was a better pick.
There is a missing import,
PropertyEvent
for thecallback_property
function (in the example) There is no index set for theGetPropertyData
(default doesn't work?) As well as a better description for theSetCapacity
function (in the example)The term "Computer" was used as people can have both HDDs and SSDs so computer was a better pick.