[PATCH] atl: Fix the ATL_WNDCLASSINFOW::m_szAutoName member definition and construction.

Hermès BÉLUSCA-MAÏTO hermes.belusca at sfr.fr
Wed Jan 15 15:59:44 CST 2020

- Document the m_szAutoName size.

- Make the format actually MS-compatible: "ATL" followed by colon,
  followed by hexadecimal digits of pointer (4*2 digits on 32-bit platforms,
  8*2 digits on 64-bit platforms). This correctly fix x64 compilation
  and still make the autogenerated name "unique".

- Add a test that checks the name prefix.

Signed-off-by: Hermes Belusca-Maito <hermes.belusca at sfr.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-atl-Fix-the-ATL_WNDCLASSINFOW-m_szAutoName-member-de.patch
Type: application/octet-stream
Size: 6508 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200115/5f0f90fc/attachment.obj>

More information about the wine-devel mailing list