Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2014 Microsoft