dpnet: Implement IDirectPlay8Address GetComponentByIndex (try 5)

Stefan Dösinger stefandoesinger at gmail.com
Mon Jan 26 07:17:24 CST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2015-01-25 um 18:55 schrieb Stefan Dösinger:
> Other than that I think error handling would be a good idea. You
> can check for NULL (as well as in the place where you allocate
> storage for the component in AddComponent) and return from
> AddComponent with E_OUTOFMEMORY.
Adding a component >= 0x80000000 should show how native handles out of
memory situations here.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUxj5kAAoJEN0/YqbEcdMw7csP/AgCDVd5m1CiudhhY2TbdzqO
y6RUMLy52zYX187dW5WniPDQeJbShi+cpFNv9w2neVd8VXx+7JyOPN9cn7aKDU/1
GecG0P9mvvtXCO4qRM2OYUWXYjKZGRCJGDTVETqef4fb4sfcq38v2dbDcCGwrob/
bQLL5b1myTmlWuuM1S4dFv92pglPqUK8N5zq8TybxW3Mko50kCfwxX1V8Tg0SvbT
vu1gCJLVh2nIA2fWuC+HwwwZcbYhAwX1Bs9PLN/OOmTghji7W6PR60zJnNOP0+kG
RtDm8W1vA+R9CZ4OfMBGD8elvWQSqMwUNfHcj8ZrG+1pZOu5gTfuCUBUj3KNJq2b
ZP6VKoQLd+Xudw2qQiZzcXdNLKV6ARjMR/k0Fs2/cppWfBIXMWH/8szdUHCsnUqY
Qvb6MFTc7jTRBOkyyaCP0VqnuClnE4sWBisq5cICnYYuYBKWXjUfqGZPIaOIyssl
iIRTytxMjEooqU8UxXCWZeXNMrDBqbNm4Xct8vZsIQ5dPPziy2wpFntS9CI1IFOM
/IZNo4S0FADAQ8QKdtG1bkgOvzrYuDK2c6vdFKh+xzqKBZjzq+XIyK2P87pMkgph
Df8wvWEUVg9xfZTQIktwsx5K5wxBCfrERFcEj8xgaSXoEt/DPpXM8SfTpy2xoPAp
L1kIkVxwVn2WCNguDpqZ
=8Zzu
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list