Move all common Dll[un]RegisterServer stuff to advapi

Vijay Kiran Kamuju infyquest at gmail.com
Thu Jun 22 16:44:20 CDT 2006


Most of the dlls which have implemented the above functions
are importing advapi, because all/most of the Reg*Key functions are
implemented in advapi

I think this makes no difference to the existing dlls.

Thanks,
Vijay

On 6/22/06, James Hawkins <truiken at gmail.com> wrote:
> On 6/22/06, Vijay Kiran Kamuju <infyquest at gmail.com> wrote:
> > Hi All,
> >
> > I would like to move all the helper functions register_coclass,etc to
> > a separate file in advapi.dll called regsvr_helper.c and all
> > declarations of structs, consts moved to a separate file called,
> > wineregsvr.h in include/wine
> >
> > So that it would be easy for other dlls to implement the
> > DllRegisterServer and DllUnRegisterServer.
> > And also clean up the code base.
> >
> > I need your suggestions, before i submit patches.
> >
>
> That would require at least one extra import from advapi32, which is
> not a good idea.  We're trying to separate connections between dlls
> and extra exports, not create new ones.
>
> --
> James Hawkins
>



More information about the wine-devel mailing list