다음을 통해 공유


IWmsStationPresenter::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.

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_IWmsStationPresenter is defined as 2e855d99-1ccb-4c17-afb0-bdc0033a383e

See also

IWmsStationPresenter