#ifndef _WINSTA_H
// rev
NTSYSAPI
BOOLEAN
NTAPI
WinStationTerminateProcess(
_In_opt_ HANDLE ServerHandle,
_In_ ULONG ProcessId,
_In_ ULONG ExitCode
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-TSTS] specification.