Export (0) Print
Expand All
Expand Minimize

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

 

 

Show:
© 2014 Microsoft