Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 211 of file cproxy.c.
Referenced by StdProxy_Construct().
{ const void **entry = (const void **)(vtbl + 1); DWORD i, j; if (num - 3 > BLOCK_SIZE * MAX_BLOCKS) { FIXME( "%u methods not supported\n", num ); return FALSE; } for (i = 0; i < (num - 3 + BLOCK_SIZE - 1) / BLOCK_SIZE; i++) { const struct thunk *block = method_blocks[i]; if (!block && !(block = allocate_block( i ))) return FALSE; for (j = 0; j < BLOCK_SIZE && j < num - 3 - i * BLOCK_SIZE; j++, entry++) if (*entry == (LPVOID)-1) *entry = &block[j]; } return TRUE; }