Re: advapi32: Implement NtLoadKey

2005-03-25 Thread James Hawkins
On Fri, 25 Mar 2005 17:08:25 +0900, Mike McCormack <[EMAIL PROTECTED]> wrote: > > James Hawkins wrote: > > > +/* mount a key directly under HKLM or HKU */ > > +static void mount_key(struct key *key, const WCHAR *subkey, obj_handle_t > > handle) > > +{ > > > +if (!(f = fdopen(fd, "r"))) > >

Re: advapi32: Implement NtLoadKey

2005-03-25 Thread Mike McCormack
James Hawkins wrote: +/* mount a key directly under HKLM or HKU */ +static void mount_key(struct key *key, const WCHAR *subkey, obj_handle_t handle) +{ +if (!(f = fdopen(fd, "r"))) +return; + +/* create the key */ +newkey = create_key(key, subkey, NULL, KEY_DIRTY, 0, &crea