Group: Terminal Services - Library: wtsapi32
How to enumerate sessions and processes on a specified terminal server
How to enumerate terminal servers within the specified Windows domain
void WTSFreeMemory(
PVOID pMemory
);
DECLARE WTSFreeMemory IN Wtsapi32;
INTEGER pMemory
pMemory [in] Pointer to the memory to free.
This function does not return a value.
Several Terminal Services functions allocate buffers to return information. Use the WTSFreeMemory function to free these buffers.