This function is used to close a handle previously opened.
xcall MIAMEX, MX_REGISTRY, REGOP_CLOSE, hkey, status
hkey [in]
must be set to the handle of the key to close (as returned in HKEY2 by the open or create operations).
status (F,6) [out]
0 for success, else error.