記憶。Cpp
在範例提供者元件中,顯示記憶體配置和釋放的程式代碼範例memory.cpp。 下表列出支援的例程。
項目 | 說明 |
---|---|
AllocProvMem | 配置指定的記憶體。 |
FreeProvMem | 指出的可用記憶體。 |
ReallocProvMem | 配置連續記憶體。 |
AllocProvStr | 配置 LPWSTR 字串。 |
FreeProvStr | 如果尚未釋放,則為免費字串。 |
ReallocProvStr | 配置連續記憶體。 |
ProvAllocString | 驗證字串和第一個參數。 如果確定,則執行配置。 |
意見反應
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:提交並檢視相關的意見反應