다음을 통해 공유


IWmsStationPresenter2::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. This method was inherited from the IWmsStationPresenter interface.

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_IWmsStationPresenter2 is defined as 5c03282a-b68f-476a-ace8-e0736a9d1260

See also

IWmsStationPresenter2