DNSAPI: add a couple of macros and prototypes

Hans Leidekker hans at it.vu.nl
Mon Apr 10 11:22:02 CDT 2006


This header presents a problem for Wine's AW handling because it
references types in undecorated form. For example:

 BOOL WINAPI DnsRecordCompare(PDNS_RECORD,PDNS_RECORD);

DNS_RECORD is in fact a polymorphic type, it embeds a flag that
specifies the character set for the structure. This patch solves
the problem by conditionally and arbitrarily defining DNS_RECORD
as DNS_RECORDW.

Is this an acceptable solution?

 -Hans

Changelog
  Add a couple of macros and prototypes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnsapi_09.diff
Type: text/x-diff
Size: 2377 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060410/6521fdd4/dnsapi_09.diff


More information about the wine-patches mailing list