Alexandre Julliard : server: Add a helper function for the common functionality between open_key and create_key .