PATCH: Convert HDRVR to a void*

Michael Stefaniuc mstefani at redhat.de
Mon Aug 5 14:31:52 CDT 2002


Hello!

On Mon, Aug 05, 2002 at 12:41:35AM +0200, Michael Stefaniuc wrote:
> License: LGPL, X11
> Changelog:
>     Michael Stefaniuc <mstefani at redhat.com>
>     - Convert HDRVR to a void*
>     - Fix declaration of DriverCallback()
Alexandre, please don't apply this patch because it's broken and I don't
know which is the best/cleanest way to fix that.
Problem: the macro HDRVR_16 defined in dlls/winmm/winemm.h is needed in
dlls/msvideo/msvideo_main.c . Which of the following solutions is the
way to go (the problem will also appear when the rest of the handles are
converted to a void* too, so a generic solution would be best):
1.) just include dlls/winmm/winemm.h
2.) put the $HANDLE_{16,32} macros into include/wownt32.h surrounded by
    #ifdef __WINE__ and include wownt32.h
3.) put the $HANDLE_{16,32} macros into one of the include/wine/*.h
    header files (in which?)
4.) create include/wine/handleconv.h and put all handle conversions into
    it

I would prefer 4 and 3 but I don't mind to do it in any way.

Comments?

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020805/1aa4fe0a/attachment.pgp


More information about the wine-devel mailing list