On Thu, May 25, 2000 at 11:34:47AM -0700, Alexandre Julliard wrote:
> Huw D M Davies <[EMAIL PROTECTED]> writes:
>
> > Well it should get loaded by CreateDC, but at present CreateDC is not
> > doing this. We should probably then define a Wine driver export like
> > GetFunctionTable that returns a ptr to DC_Funcs. This would eliminate
> > the need for the DRIVER_RegisterDriver callback.
>
> I'd even suggest making all the DC functions exported from the driver,
> and build the DC_Funcs table on the fly with GetProcAddress(). This
> would make it much easier to add new functions without breaking binary
> compatibility.
Yes, actually I was thinking of something like DrvEnableDriver from
the winnt ddi. We have one function that returns a variable sized
array of fn pointers and corresponding fn indices. But that's a
detail anyway.
Huw.
--
Dr. Huw D M Davies | Clarendon Laboratory
[EMAIL PROTECTED] | Parks Road
Tel: +44 1865 272390 | Oxford OX1 3PU
Fax: +44 1865 272400 | UK