WinStationFreeMemory - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _WINSTA_H

// In the functions below, memory returned can be freed using LocalFree. NULL can be specified for
// server handles to indicate the local server. -1 can be specified for session IDs to indicate the
// current session ID.

// rev
/**
 * The WinStationFreeMemory routine frees memory allocated by a Remote Desktop Services function.
 *
 * \param Buffer Pointer to the memory to free.
 * \sa https://learn.microsoft.com/en-us/windows/win32/api/wtsapi32/nf-wtsapi32-wtsfreememory
 */
NTSYSAPI
BOOLEAN
NTAPI
WinStationFreeMemory(
    _In_ PVOID Buffer
    );

#endif

View code on GitHub

NtDoc

No description available.