"James Hawkins" truiken@gmail.com wrote:
if (!table) {
req->atom = atom;req->table = table;wine_server_set_reply( req, full_name, sizeof(full_name) );if (!wine_server_call_err( req ))
ATOM_BASIC_INFORMATION *abi;size = sizeof(*abi) + MAX_ATOM_LEN * sizeof(WCHAR);abi = HeapAlloc(GetProcessHeap(), 0, size);
Using HeapAlloc will considerably slowdown the function, you can safely allocate the necessary buffer on the stack. The same for GetAtomNameW.