This topic has not yet been rated - Rate this topic

WTSFreeMemory function

Applies to: desktop apps only

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 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wtsapi32.h

Library

Wtsapi32.lib

DLL

Wtsapi32.dll

See also

WTSEnumerateProcesses
WTSEnumerateSessions
WTSQuerySessionInformation
WTSQueryUserConfig

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ