Detach method

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

LONG Detach();


Parameters
  None


See also
Attach method