This method allows your application to detach (disconnect) from the Registry and returns the handle to the opened/created key.
Parameters None
See also Attach method