CloseKey method

The CloseKey method closes the active key (which is opened/created) and flushes (resets) the changes on demand.  

Void CloseKey(
 VARIANT_BOOL Flush// Defines whether the changes should be flushed
);


Parameters
  Flush     [in] This parameter defines whether the current changes should be applied (“Flush” is equal to FALSE) of reset to the original one (“Flush” is equal to TRUE). The default value is FALSE.


See also
OpenKey method, CreateKey method