Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WTSFreeMemory function

Frees memory allocated by a Remote Desktop Services function.

Syntax


void WTSFreeMemory(
  _In_  PVOID pMemory
);

Parameters

pMemory [in]

Pointer to the memory to free.

Return value

This function does not return a value.

Remarks

Several Remote Desktop Services functions allocate buffers to return information. Use the WTSFreeMemory function to free these buffers.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

See also

WTSEnumerateProcesses
WTSEnumerateSessions
WTSQuerySessionInformation
WTSQueryUserConfig

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.