Microsoft DirectX 8.1 (C++)

CAggDrawSurface::SetDirectDrawSurface

The SetDirectDrawSurface method is 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

Pointer to the DirectDraw surface to be set.

Return Value

No return value.

Remarks

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

See Also