다음을 통해 공유


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

Displays an updated frame buffer from the input device.

Syntax

HRESULT Present(
  [in, size_is(cxFrameBuffer * cyFrameBuffer * (cBitsPerPixel / 8)] const BYTE *pbFrameBuffer,
  [in]                                                                    UINT cxFrameBuffer,
  [in]                                                                    UINT cyFrameBuffer,
  [in]                                                                    UINT cBitsPerPixel,
  [in]                                                              const HRGN hRgnDirty
);

Parameters

pbFrameBuffer [in]

A pointer to the frame buffer to display.

cxFrameBuffer [in]

The width of the frame buffer, in pixels.

cyFrameBuffer [in]

The height of the frame buffer, in pixels.

cBitsPerPixel [in]

The color depth of the bitmap, in bits per pixel.

hRgnDirty [in]

A handle to the dirty region of the frame buffer. This is the portion of the frame buffer that is to be updated.

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