16 May
2014
16 May
'14
12:33 p.m.
On 16 May 2014 14:22, Stefan Dösinger <stefandoesinger(a)gmail.com> wrote:
+ client = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectPlay8LobbyClientImpl)); + if (!client) { + *obj = NULL; + return E_OUTOFMEMORY; + } } placement.
While we're handing out style hints, I think "sizeof(*client)" is generally nicer for this kind of thing.