Expand Minimize

Alloc Function

Allocates a block of memory of the size specified from the Concurrency Runtime Caching Suballocator.

void * __cdecl Alloc(
   size_t _NumBytes
);

_NumBytes

The number of bytes of memory to allocate.

A pointer to newly allocated memory.

For more information about which scenarios in your application could benefit from using the Caching Suballocator, see Task Scheduler (Concurrency Runtime).

Header: concrt.h

Namespace: concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft