IWRdsProtocolConnection::GetLastInputTime method (wtsprotocol.h)

Retrieves the last time the protocol received user input.

Syntax

HRESULT GetLastInputTime(
  [out] ULONG64 *pLastInputTime
);

Parameters

[out] pLastInputTime

A pointer to a ULONG64 value that receives the number of milliseconds that has elapsed since the protocol last received input.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolConnection