#ifndef _WINSTA_H
// rev
NTSYSAPI
BOOLEAN
NTAPI
WinStationSendMessageW(
_In_opt_ HANDLE ServerHandle,
_In_ ULONG SessionId,
_In_ PCWSTR Title,
_In_ ULONG TitleLength,
_In_ PCWSTR Message,
_In_ ULONG MessageLength,
_In_ ULONG Style,
_In_ ULONG Timeout,
_Out_ PULONG Response,
_In_ BOOLEAN DoNotWait
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-TSTS] specification.