WTSFreeMemory function (wtsapi32.h)
Frees memory allocated by a Remote Desktop Services function.
Syntax
void WTSFreeMemory(
[in] PVOID pMemory
);
Parameters
[in] pMemory
Pointer to the memory to free.
Return value
None
Remarks
Several Remote Desktop Services functions allocate buffers to return information. Use the WTSFreeMemory function to free these buffers.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wtsapi32.h |
Library | Wtsapi32.lib |
DLL | Wtsapi32.dll |
API set | ext-ms-win-session-wtsapi32-l1-1-0 (introduced in Windows 8) |
See also
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