Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Supports the WRL infrastructure and is not intended to be used directly from your code.
__forceinline void* Allocate();
Return Value
If successful, a pointer to the allocated memory; otherwise, nullptr.
Remarks
Allocates memory and associates it with the current MakeAllocator object.
The size of the allocated memory is the size of the type specified by the current MakeAllocator template parameter.
A developer needs to override only the Allocate() method to implement a different memory allocation model.
Requirements
Header: implements.h
Namespace: Microsoft::WRL::Details