code: public GuestRegKeyRecordSpec[] listRegistryKeysInGuest(VirtualMachine vm, GuestAuthentication auth, GuestRegKeyNameSpec keyName, boolean recursive, String matchPattern)
          throws GuestComponentsOutOfDate, GuestOperationsFault, GuestOperationsUnavailable, GuestPermissionDenied, GuestRegistryKeyInvalid, InvalidGuestLogin, InvalidPowerState,
          InvalidState, OperationDisabledByGuest, OperationNotSupportedByGuest, RuntimeFault, TaskInProgress, RemoteException {
          return getVimService().listRegistryKeysInGuest(getMOR(), vm.getMOR(), auth, keyName, recursive, matchPattern);
      }
docs: List all registry subkeys for a given registry key.
  
  @param vm           Virtual machine to perform the operation on.
  @param auth         The guest authentication data.
  @param keyName      The path to the registry key for which all subkeys are to be listed.
  @param recursive    If true, all subkeys are listed recursively.
  @param matchPattern A filter for the key names returned, specified using perl-compatible regular expressions. If matchPattern is unset, then the pattern '.*' is used, which returns all key names found, otherwise only those key names that match the input pattern shall be returned.
  @return GuestRegKeyRecordSpec[] The list of subkeys is returned in an array of GuestRegKeySpec structures.
  @throws GuestComponentsOutOfDate
  @throws GuestOperationsFault
  @throws GuestOperationsUnavailable
  @throws GuestPermissionDenied
  @throws GuestRegistryKeyInvalid
  @throws InvalidGuestLogin
  @throws InvalidPowerState
  @throws InvalidState
  @throws OperationDisabledByGuest
  @throws OperationNotSupportedByGuest
  @throws RuntimeFault
  @throws TaskInProgress
  @throws RemoteException