共用方式為


ISurfacePresenterFlipBuffer::BeginDraw method

Obtains a pointer to the Direct3D surface shared buffer for the ActiveX control to draw to it.

Syntax

HRESULT BeginDraw(
  [in]          REFIID              riid,
  [out, retval] iid_is(riid) void** ppBuffer
);

Parameters

  • riid [in]
    Specifies which interface to return

  • ppBuffer [out, retval]

Return value

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

See also

ISurfacePresenterFlipBuffer