次の方法で共有


CAggDrawSurface::SetDirectDrawSurface (Compact 2013)

3/26/2014

Called by the owner of this aggregation object to set the actual DirectDraw surface it is aggregating upon.

Syntax

void SetDirectDrawSurface(
  LPDIRECTDRAWSURFACE pDirectDrawSurface
);

Parameters

  • pDirectDrawSurface
    DirectDrawSurface to be set.

Return Value

None.

Remarks

This member function must be called before any of the IDirectDrawSurface interface methods can be called.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CAggDrawSurface Class