MEMORY.CPP
In the example provider component, a code example showing memory allocation and freeing is in memory.cpp. Supported routines are listed in the following table.
Item | Description |
---|---|
AllocProvMem | Allocate specified memory. |
FreeProvMem | Free memory indicated. |
ReallocProvMem | Allocate contiguous memory. |
AllocProvStr | Allocate an LPWSTR string. |
FreeProvStr | Free string if not already freed. |
ReallocProvStr | Allocate contiguous memory. |
ProvAllocString | Verifies string and first parameter. If OK, then performs allocation. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for