IWRdsProtocolConnection::GetClientMonitorData method

Retrieves the number of monitors and the primary monitor number on the client.

Syntax


HRESULT GetClientMonitorData(
  [out] UINT *pNumMonitors,
  [out] UINT *pPrimaryMonitor
);

Parameters

pNumMonitors [out]

A pointer to a UINT variable to receive the number of monitors counted.

pPrimaryMonitor [out]

A pointer to a UINT variable to receive the number of the primary monitor on the client.

Return value

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

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

IDL

Wtsprotocol.idl

See also

IWRdsProtocolConnection

 

 

Show: