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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

See also

WTSEnumerateProcesses
WTSEnumerateSessions
WTSQuerySessionInformation
WTSQueryUserConfig

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.