IWmsStationPresenter2::GetDimensions method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Retrieves the dimensions of a frame buffer from the input device, in pixels. This method was inherited from the IWmsStationPresenter interface.

Syntax

HRESULT GetDimensions(
  [out] UINT *pcx,
  [out] UINT *pcy
);

Parameters

pcx [out]

On successful return, receives a pointer to the width of the frame buffer, in pixels.

pcy [out]

On successful return, receives a pointer to the height of the frame buffer, in pixels.

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 2016
IDL
WmsStationPresenter.idl
IID
IID_IWmsStationPresenter2 is defined as 5c03282a-b68f-476a-ace8-e0736a9d1260

See also

IWmsStationPresenter2