An example of how a driver can register a handle creation callback.
This is a proof-of-concept and is not meant to run on production machines