In general, will I get accurate results calling GetLastError() after a TCC/SDK API fails?
In particular, how about AllocMem()? ... as in
In particular, how about AllocMem()? ... as in
Code:
LPVOID p = AllocMem(size);
if ( p == NULL )
return error(GetLastError(), L"AllocMem");